Bug 1403697 - qhttpengine uses hardcoded unversioned _pkgdocdir
Summary: qhttpengine uses hardcoded unversioned _pkgdocdir
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: qhttpengine
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1403369 (view as bug list)
Depends On:
Blocks: 1339011 1340641 1403369
TreeView+ depends on / blocked
 
Reported: 2016-12-12 08:44 UTC by Tuomo Soini
Modified: 2017-03-17 14:51 UTC (History)
1 user (show)

Fixed In Version: qhttpengine-0.1.0-4.el7
Clone Of:
Environment:
Last Closed: 2017-03-17 14:51:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Work-around for versioned %_pkgdocdir (1.07 KB, patch)
2016-12-12 08:44 UTC, Tuomo Soini
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1392354 0 high CLOSED %_pkgdocdir macro not versioned 2021-02-22 00:41:40 UTC

Internal Links: 1392354

Description Tuomo Soini 2016-12-12 08:44:10 UTC
Created attachment 1230729 [details]
Work-around for versioned %_pkgdocdir

Build of package fails when epel-rpm-macros fixing _pkgdocdir to be versioned is in place because spec is hardcoded to use unversioned docdir.

qhttpengine-0.1.0-2.el7

I couldn't find out good way to fix this but this ugly hack works.

Comment 1 Raphael Groner 2016-12-12 19:55:10 UTC
Easy fix: Replace all occurances of %{_pkgdocdir} with %{_docdir}/%{name} .

Comment 2 Raphael Groner 2016-12-12 20:09:07 UTC
Not sure if this is a duplication of bug #1392354 or a workaround till that gets fixed generally.

Comment 3 Raphael Groner 2016-12-12 20:21:53 UTC
The better way would be to patch/fix CMakeLists.txt and poke upstream to implement -DDOC_INSTALL_DIR properly.
Alternatively, %install should move doc files to right location (versioned).

Comment 4 Raphael Groner 2017-02-01 00:26:17 UTC
*** Bug 1403369 has been marked as a duplicate of this bug. ***

Comment 5 Raphael Groner 2017-02-01 00:27:24 UTC
*** Bug 1168864 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2017-02-27 21:15:13 UTC
qhttpengine-0.1.0-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-32c778535b

Comment 7 Fedora Update System 2017-03-01 01:48:55 UTC
qhttpengine-0.1.0-4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-32c778535b

Comment 8 Fedora Update System 2017-03-17 14:51:09 UTC
qhttpengine-0.1.0-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


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