Bug 993991

Summary: nautilus-python possibly affected by F-20 unversioned docdir change
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: nautilus-pythonAssignee: Patrick Dignan <dignan.patrick>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dignan.patrick, opensource, oskar.berggren, surkum
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://fedoraproject.org/wiki/Changes/UnversionedDocdirs
Whiteboard:
Fixed In Version: nautilus-python-1.1-6.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-15 06:57:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 993551    
Attachments:
Description Flags
Working spec file none

Description Ville Skyttä 2013-08-06 13:36:44 UTC
nautilus-python was identified as a package possibly needing maintainer attention
due to the F-20 unversioned doc dir change. The identification is not
foolproof, it is basically this grep:

    grep -E "(/doc|_docdir|_defaultdocdir).+version" *.spec

Please review your package and make the appropriate changes, if any. A
good starting point is checking the lines output by the above grep for
your specfile. For the vast majority of packages, after the changes,
the expected outcome is that documentation dirs in /usr/share/doc
should no longer contain the package version.

More information and tips:
  https://fedoraproject.org/wiki/Changes/UnversionedDocdirs
  http://thread.gmane.org/gmane.linux.redhat.fedora.devel/183942/focus=183943
  http://thread.gmane.org/gmane.linux.redhat.fedora.devel/183942/focus=183973

Comment 1 Fedora End Of Life 2013-09-16 16:19:56 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 2 Juan A. Burgos 2013-12-19 23:57:52 UTC
The problem seems to be a configure option in the SPEC file.

Comment 3 Juan A. Burgos 2013-12-20 00:00:20 UTC
Created attachment 839286 [details]
Working spec file

Tested on fc20.x86_64

Comment 4 Oskar Berggren 2014-01-07 15:04:02 UTC
This bug prevents building the package on Fedora 20 (FTBFS in bug #992325). Fedora 20 will therefore install the binary package from fedora 19, which doesn't work (see bug #1046899). So currently no python based nautilus extensions will work in Fedora 20.

Comment 5 Fedora Update System 2014-02-04 11:14:35 UTC
nautilus-python-1.1-6.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/nautilus-python-1.1-6.fc20

Comment 6 Fedora Update System 2014-02-05 03:43:46 UTC
Package nautilus-python-1.1-6.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing nautilus-python-1.1-6.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2032/nautilus-python-1.1-6.fc20
then log in and leave karma (feedback).

Comment 7 Ville Skyttä 2014-02-05 09:13:54 UTC
The "%doc %{_pkgdocdir}/examples/*.py" line in this update's specfile is redundant (but harmless), the special %doc used on the line above already ends up owning everything in %{_pkgdocdir}.

Comment 8 Till Maas 2014-02-05 09:34:30 UTC
(In reply to Ville Skyttä from comment #7)
> The "%doc %{_pkgdocdir}/examples/*.py" line in this update's specfile is
> redundant (but harmless), the special %doc used on the line above already
> ends up owning everything in %{_pkgdocdir}.

Just to make sure I understand it correctly:
The line
%doc README AUTHORS COPYING NEWS 
does not only copy the specified files to %{_pkgdocdir} but also matches everything already present in %{_pkgdocdir}?

Comment 9 Ville Skyttä 2014-02-05 09:48:34 UTC
Nowadays yes: http://rpm.org/gitweb?p=rpm.git;a=blob;f=build/files.c#l1674

Before rpm 4.9.1 special %doc cleared the doc dir before it copied files into it: http://rpm.org/ticket/836

Comment 10 Fedora Update System 2014-02-15 06:57:13 UTC
nautilus-python-1.1-6.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.