rawhide report: 20070117 changes

Matthias Saou thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net
Wed Jan 17 18:44:48 UTC 2007


Tomasz Kłoczko wrote :

> Dnia 17-01-2007, śro o godzinie 19:14 +0100, Matthias Saou napisał(a):
> > Another correct solution, which I prefer, would be to have something
> > like this :
> > 
> > %install
> > rm -rf %{buildroot} _html
> > cp -a html _html
> > find _html -name 'Makefile*' -exec rm -f {} \; 
> 
> Please run two times "rpmbuild -bi --short-circuit" and try look in
> _html :)

This is exactly what the added "_html" on the first "rm" line takes
care of.

> .. and you soution will take more space/IOs from storage :)

Yes it will, but it's less prone to break later on, which is what I
value most.

I've been using --short-circuit for years and have learned to always
make %install sections that are compatible with it.

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 6 (Zod) - Linux kernel 2.6.19-1.2895.fc6
Load : 3.04 1.86 1.17




More information about the fedora-devel-list mailing list