Bug 994018

Summary: pam_mapi possibly affected by F-20 unversioned docdir change
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: pam_mapiAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: redhat-bugzilla, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://fedoraproject.org/wiki/Changes/UnversionedDocdirs
Whiteboard:
Fixed In Version: pam_mapi-0.1.2-4.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-06 17:47:25 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    

Description Ville Skyttä 2013-08-06 13:56:36 UTC
pam_mapi 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 Robert Scheck 2013-08-06 14:03:19 UTC
Ville, which macro can be used across old and new behaviour? From what I get,
%_docdir_fmt can not be used directly in *.spec files. Is known how RHEL 7 is
going to behave regarding this? Will they also switch?

Comment 2 Ville Skyttä 2013-08-06 14:34:17 UTC
(In reply to Robert Scheck from comment #1)
> Ville, which macro can be used across old and new behaviour?

See first link in the initial comment, and the "Detailed Description" section in it. I'd imagine if you use plain %doc or %{_pkgdocdir} as suggested, you don't need to know what EL7 is going to do (I don't).

Comment 3 Robert Scheck 2013-08-06 17:47:25 UTC
Sorry, did not recognize the new %{_pkgdocdir} macro.