Re: Packages which needlessly use %defattr

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

 



Jason L Tibbitts III wrote:
> In a %files section of a specfile, the %defattr directive is used to set
> the default file ownership and permissions.  RPM has provided a sensible
> default since version 4.4 (which predates FC6 and RHEL5), but very many
> specfiles still include an initial %defattr line like
> "%defattr(-,root,root,-)" as the initial line in a %files section even
> though this has not been needed for well over a decade now.  This
> construct even appears in new specfiles, perhaps because it appears in
> so many existing packages.

Why is that a problem? The line will have no effect. So why can't we just 
leave it there?

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/TXNWZABSUZ45HFK4VUMOZA4FPKMJW3DG/




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux