What is wrong in this spec file?

Matthew Miller mattdm at mattdm.org
Wed May 4 20:45:04 UTC 2005


On Wed, May 04, 2005 at 10:32:48PM +0200, Michael Schroeder wrote:
> No, just:
> %_bindir/*
> %_libdir/ocaml/etc/*
> %_libdir/ocaml/topfind
> %_libdir/ocaml/site-lib/*
> %_mandir/man?/*
[...]
> You have to define a BuildRoot.

I also find it nicer to not use so many wildcards in the %files listing.
That way, if one of the expected files doesn't get built right, the RPM
build fails.

Won't help this problem, though. In fact, might make it worse since you
might not notice what's happening. Although, if you avoid building RPMs as
root, that'll pretty much avoid it too (and be much safer).

-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 79 degrees Fahrenheit.




More information about the fedora-devel-list mailing list