/usr/lib/debug ownership
Michael Schwendt
mschwendt at gmail.com
Sat Feb 16 15:57:00 UTC 2013
On Sat, 16 Feb 2013 15:01:32 +0100, Alec Leamas wrote:
> Well, isn't the rule is actually simpler than that: any package owning
> a directory owned by another package is broken.
It used to be like that, but nowadays the guidelines aren't that strict
anymore. See "multiple ownership" here:
https://fedoraproject.org/wiki/Packaging:Guidelines#File_and_Directory_Ownership
https://fedoraproject.org/wiki/Packaging:Guidelines#The_directory_is_owned_by_a_package_which_is_not_required_for_your_package_to_function
In order to have only a single package being the only owner of a directory,
there would be an inflation of either the "filesystem" package or
additional "-filesystem" subpackages elsewhere, which one could depend
on _only_ for proper directory ownership. This would create overhead.
To make fedora-review be extra careful when finding a %files entry
%{_libdir}/* might be worthwhile. Such an entry would include files
in /usr/lib/debug (where %_libdir = /usr/lib) and also bears a risk
of duplicating files included in subpackages. It shouldn't be too hard
for a packager to come up with a safer more-appropriate wildcard than '*'.
--
Fedora release 19 (Rawhide) - Linux 3.8.0-0.rc7.git3.1.fc19.x86_64
loadavg: 0.34 0.54 0.48
More information about the devel
mailing list