Removing noise from specs

Bill Nottingham notting at redhat.com
Thu May 18 06:33:52 UTC 2006


Panu Matilainen (pmatilai at laiskiainen.org) said: 
> 
> Reminded by Bill's suggestion of putting the default buildroot into rpm 
> default macro configuration instead of having to set in each and every 
> spec, here's another long time wish of mine:
> 
> Have rpm default to %defattr(-,root,root,-) in %files section(s). It's the 
> right thing for most packages so it's really just noise in 90% of the 
> specs, it's an endless source of silly packaging mistakes (forgetting to 
> add it when splitting off a subpackage etc) and those who need special 
> permissions can set them with their own %defattr/%attr use.
> 
> Pretty please?

I'm all for it.

Bill




More information about the fedora-extras-list mailing list