What is wrong in this spec file?
paul at city-fan.org
Wed May 4 20:33:56 UTC 2005
On Wed, 2005-05-04 at 22:28 +0200, Rakotomandimby (R12y) Mihamina wrote:
> Attached is one spec file, for the findlib package.
> It has been from a src.rpm of the altlinux distribution
> I made just minor changes to suit it to my fedora core3.
> Near the end of the packaging process, the stuff checks the
> Okay, but the problem is it say absolutely anything, as you see at the
> bottom of this message.
> That was the first thing. The second is that if a make a :
> # rpm -qlp /usr/src/redhat/RPMS/i386/findlib-1.0.4-fc3.i386.rpm
> It shows me my entire system!!
> I think this thing has embeded all my PATH into the rpm pacakge!
> I guess something would be wrong into my spec file, but I cant find
> where. Would you help me?
The main problem is that there's no BuildRoot. You'd probably have
spotted this yourself if you weren't building RPMs as root (which is not
a good idea at all).
Paul Howarth <paul at city-fan.org>
More information about the devel