Bug 1245608 - Unowned directory and superfluous %doc attributes
Summary: Unowned directory and superfluous %doc attributes
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gvfs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Holy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-22 11:32 UTC by Michael Schwendt
Modified: 2015-07-23 09:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-23 08:04:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.