Inclusion/Exclusion of BuildRoot tag and %defattr

Toshio Kuratomi a.badger at gmail.com
Mon Jul 18 15:41:36 UTC 2011


On Mon, Jul 18, 2011 at 01:20:30PM +0100, Damian L Brasher wrote:
> Hi List
> 
> Referring to sections of Packaging Guidelines:
> 
> No longer necessary to explicitly include %defattr at the beginning of %
> files.
> 
> and the fact that the BuildRoot tag, eve if defined, is ignored.
> 
> After reviewing packages I have suggested %defattr is not strictly
> necessary. I have also removed %defattr(-,root,root,-) from my
> contributed spec file https://bugzilla.redhat.com/show_bug.cgi?id=644711
> 
> Is this correct, i.e. do the package review request authors need to be
> notified?
> 
> i.e. https://bugzilla.redhat.com/show_bug.cgi?id=720085

They are now optional but there's no need to force people to be rid of them.
In particular, some people like to build a package for both Fedora and
EPEL-5.  In this case, a lot of the things that are optional in Fedora have
to remain for the EPEL package.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110718/fba11be2/attachment.bin 


More information about the devel mailing list