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

Re: Removing noise from specs



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


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