Re: Removing noise from specs

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

 



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

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

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux