Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 986871 - [PATCH] Drop version from _docdir_fmt
Summary: [PATCH] Drop version from _docdir_fmt
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-07-22 09:53 UTC by Ville Skyttä
Modified: 2013-07-24 23:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1112976 (view as bug list)
Last Closed: 2013-07-24 23:58:46 UTC

Attachments (Terms of Use)
Drop version from _docdir_fmt (deleted)
2013-07-22 09:53 UTC, Ville Skyttä
no flags Details | Diff

Description Ville Skyttä 2013-07-22 09:53:05 UTC
Created attachment 776833 [details]
Drop version from _docdir_fmt

Attached is a patch that drops package version from _docdir_fmt, thus making doc dirs unversioned per the now accepted F-20 feature.

Ok if I push and build this for devel? And would you like it conditionalized on 0%{?fedora} >= 20?

Comment 1 Miloslav Trmač 2013-07-22 11:22:29 UTC
Please note this needs to be applied before the F20 mass rebuild starts; see for related coordination.

Comment 2 Kevin Fenzi 2013-07-24 20:13:33 UTC
Scratch build with this and the libtool change in it. 

Please scream if you see anything wrong with it. 

I will push this out later tonight if not:

Comment 3 Ville Skyttä 2013-07-24 20:43:27 UTC
Thanks, unfortunately I have no time to test/scream any more tonight, but per discussion on the packaging list I suggest adding _pkgdocdir to macros in addition to _docdir_fmt, making the block of these vars look like:

%_defaultdocdir		%{_prefix}/share/doc
%_pkgdocdir		%{_docdir}/%{name}
%_docdir_fmt		%%{NAME}

Comment 4 Kevin Fenzi 2013-07-24 20:48:53 UTC
ok. I folded that change in too. Thanks.

Comment 5 Kevin Fenzi 2013-07-24 23:58:46 UTC
ok. Should be live in rawhide now. 

Please reopen if you see any issues.

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