Bug 1245608

Summary: Unowned directory and superfluous %doc attributes
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: gvfsAssignee: Ondrej Holy <oholy>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: alexl, bnocera, oholy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-23 08:04:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Schwendt 2015-07-22 11:32:54 UTC
# rpm -qf /usr/lib64/gvfs
file /usr/lib64/gvfs is not owned by any package
# rpm -qf /usr/libexec/installed-tests
file /usr/libexec/installed-tests is not owned by any package

# rpm -q gvfs
gvfs-1.25.3-1.fc23.x86_64

[...]

> %doc %{_mandir}/man1/gvfsd.1.gz
> %doc %{_mandir}/man1/gvfsd-metadata.1.gz
> %doc %{_mandir}/man7/gvfs.7.gz
> %doc %{_mandir}/man1/gvfs-*
> %doc %{_mandir}/man1/gvfsd-fuse.1.gz

%doc is implicit here, because %_mandir is in %__docdir_path.
See: rpm -E %__docdir_path

Plus, it's widely accepted practice to replace the .gz with * (as done for the gvfs-* man pages already!), so one could customise or disable the compression of manual pages any time:

%{_mandir}/man1/gvfsd.1*
%{_mandir}/man1/gvfsd-metadata.1*
%{_mandir}/man7/gvfs.7*
%{_mandir}/man1/gvfs-*
%{_mandir}/man1/gvfsd-fuse.1*

Comment 1 Ondrej Holy 2015-07-23 07:56:13 UTC
(In reply to Michael Schwendt (Fedora Packager Sponsors Group) from comment #0)
> # rpm -qf /usr/libexec/installed-tests
> file /usr/libexec/installed-tests is not owned by any package

I have tried randomly some others packages with tests listed on:
https://wiki.gnome.org/Initiatives/GnomeGoals/InstalledTests

It seems they have same problems:
$ ls /usr/libexec/installed-tests
gdk-pixbuf  glib  glib-networking  gtk+  gvfs  json-glib  pango
$ rpm -qf /usr/libexec/installed-tests
glib2-tests-2.45.3-2.fc23.x86_64
gdk-pixbuf2-tests-2.31.4-1.fc22.x86_64

So please file the bugs also against them if you haven't done it before...

Comment 2 Ondrej Holy 2015-07-23 08:04:44 UTC
Thanks, suggested changes have been applied...

Comment 3 Michael Schwendt 2015-07-23 09:58:19 UTC
> So please file the bugs also against them if you haven't done it before...

Uh, sorry, that is beyond my time. It's likely that those unowned directories have been reported before (I've mass-filed similar tickets some years ago, for example), but some package maintainers are non-responsive in bugzilla.

https://fedoraproject.org/wiki/Packaging:Guidelines#File_and_Directory_Ownership