Removing noise from specs

Nicolas Mailhot nicolas.mailhot at laposte.net
Thu May 18 13:23:10 UTC 2006


Le Jeu 18 mai 2006 08:06, Panu Matilainen a écrit :
>
> 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.

%defattr(0644,root,root,0755) would be less transparent but would force
packagers to actually check the perms they need

-- 
Nicolas Mailhot




More information about the fedora-extras-list mailing list