Re: Howto use "pear makerpm"?
| From: | Arnaud Limbourg | Date: | Sun, 16 Feb 2003 08:22:54 +0000 |
| Subject: | Re: Howto use "pear makerpm"? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3781@lists.php.net to get a copy of this message | ||
> Hi!
>
> What do I have to do, to be able to run "pear makerpm"?
>
> I wanted to make an RPM out of "Net_DIME". So I did:
>
> cd /usr/src/RPM/SOURCES
> pear download Net_DIME
> cd ../SPECS
> pear makerpm ../SOURCES/Net_DIME
>
> However, pear complains:
>
> [root@teich SPECS]# pear makerpm ../SOURCES/Net_DIME-0.3.tgz
> no package.xml found in ../SOURCES/Net_DIME-0.3.tgz
Do a cvs checkout, then run pear makerpm package.xml in Net_Dime directory.
There seem to be another problem
Net_DIME]# pear makerpm package.xml
Invalid checksum : 42523 calculated, 0 expected
> There's a package.xml in Net_DIME:
>
> [root@teich SPECS]# tar tvfz ../SOURCES/Net_DIME-0.3.tgz
> -rw-rw-rw- 0/0 1721 2002-10-21 02:22:30 package.xml
> -rw-rw-rw- 0/0 22346 2002-10-02 18:41:06 Net_DIME-0.3/DIME.php
> -rw-rw-rw- 0/0 26043 2002-07-08 02:36:12
> Net_DIME-0.3/test/dime_message_test.php
> -rw-rw-rw- 0/0 1975 2002-07-08 02:36:13
> Net_DIME-0.3/test/dime_record_test.php
>
> What did I miss?
>
> BTW: pear help makerpm is a little strange:
>
> $ pear makerpm ../SOURCES/Net_Socket-1.0.tgz
> Wrote RPM spec file PEAR::Net_Geo-1.0.spec
>
> Why does it create PEAR::Net_GEO-1.0.spec when the source is Net_Socket?
Mm, that may be a wrong configuration.
Arnaud.