Re: rawhide report: 20070117 changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tomasz Kłoczko wrote :

> Dnia 17-01-2007, śro o godzinie 06:42 -0500, buildsys@xxxxxxxxxx
> napisał(a):
> > libtiff-3.8.2-7.fc7
> > -------------------
> > * Tue Jan 16 2007 Tom Lane <tgl@xxxxxxxxxx> 3.8.2-7
> > - Remove Makefiles from the shipped /usr/share/doc/html directories
> > Resolves: bz #222729 
> 
> This was fixed by add in %install: 
> 
> # don't include documentation Makefiles, they are a multilib hazard                                                                  
> find html -name 'Makefile*' | xargs rm
> 
> This kind fixes allways will break "rpmbuild -bi --short-circuit <foo>.spec".
> 
> Correct solution in this case can be added by add to devel %files:
> 
> %doc html/*html html/images/*gif html/images/*jpg

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 {} \;

...

%doc _html/*

This way, the stuff in "html/" can change quite a bit without breaking
in the package (by being only partially copied).

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 : 0.21 0.24 0.21

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux