Bug 1403697

Summary: qhttpengine uses hardcoded unversioned _pkgdocdir
Product: [Fedora] Fedora EPEL Reporter: Tuomo Soini <tis>
Component: qhttpengineAssignee: Raphael Groner <projects.rg>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: projects.rg
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qhttpengine-0.1.0-4.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-17 14:51:09 UTC Type: Bug
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: 1339011, 1340641, 1403369    
Attachments:
Description Flags
Work-around for versioned %_pkgdocdir none

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.