[CentOS] packaging: src.rpm not a rpm

Tue Apr 17 09:26:44 UTC 2012
Johnny Hughes <johnny at centos.org>

On 04/17/2012 09:14 PM, Mihamina Rakotomandimby wrote:
>> Hi all,
>> I have installed the recommended installs from here:
>> http://wiki.centos.org/HowTos/RebuildSRPM
>> I want to build a "ipfm" RPM on a CentOS 6.2, for legacy purpose.
>> I cant immediately get rid of that piece of software, but we're on the
>> move...
>> So:
>> $ wget
>> http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/ipfm-0.11.5-alt1.src.rpm
>> $ rpm -i --nomd5 ipfm-0.11.5-alt1.src.rpm
>>    error: ipfm-0.11.5-alt1.src.rpm: not an rpm package
>>    (or package manifest):
>> I probably missed something or am using some very outdated ressources:
>> would some help me?

That link is just the html page, not an SRPM .. when you wget it, you
have downloaded the html code, not an SRPM.

Go here and pick an SRPM link:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20120417/29b80ddc/attachment-0005.sig>