Bug 993994 - oprofile possibly affected by F-20 unversioned docdir change
Summary: oprofile possibly affected by F-20 unversioned docdir change
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: oprofile
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: William Cohen
QA Contact: Fedora Extras Quality Assurance
URL: http://fedoraproject.org/wiki/Changes...
Whiteboard:
Depends On:
Blocks: F20UnversionedDocDirs
TreeView+ depends on / blocked
 
Reported: 2013-08-06 13:38 UTC by Ville Skyttä
Modified: 2013-08-06 15:23 UTC (History)
1 user (show)

Fixed In Version: oprofile-0.9.9-2.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-06 15:23:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2013-08-06 13:38:16 UTC
oprofile 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 William Cohen 2013-08-06 14:27:55 UTC
OProfile already installs the documents in /usr/share/doc/oprofile.  There is no versioning of oprofile docs.

$ rpm -qsp ../RPMS/x86_64/oprofile-0.9.9-1.fc20.x86_64.rpm |grep doc
(no state)    /usr/share/doc/oprofile
(no state)    /usr/share/doc/oprofile/COPYING
(no state)    /usr/share/doc/oprofile/internals.html
(no state)    /usr/share/doc/oprofile/op-jit-devel.html
(no state)    /usr/share/doc/oprofile/opreport.xsd
(no state)    /usr/share/doc/oprofile/oprofile.html

Comment 2 Ville Skyttä 2013-08-06 14:40:20 UTC
But examining the grep output as suggested in the initial comment reveals this:

#tweak the manual pages
find -path "*/doc/*.1" -exec \
    sed -i -e \
     's,/doc/oprofile/,/doc/oprofile-%{version}/,g' {} \;

Comment 3 William Cohen 2013-08-06 15:23:17 UTC
Fixed the oprofile.spec to remove mention of versioned /doc/oprofile-%{version} from the man pages.


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