Bug 1051291

Summary: cabal-rpm should detect executable name when fixing rpath
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: cabal-rpmAssignee: Jens Petersen <petersen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: haskell-devel, petersen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cabal-rpm-0.9.1-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-09 22:22:54 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:

Description Jens Petersen 2014-01-10 01:29:42 UTC
Description of problem:
cabal-rpm currently assuming the executable name is the same
as the package name for BinLib packages with self-linked executables.
It should really extract the names of executables which are self-linked
from the cabal metadata.  (This is already in the todo list upstream.)

Version-Release number of selected component (if applicable):
cabal-rpm-0.8.7

Steps to Reproduce:
1. cblrpm -l spec highlighting-kate

Actual results:
%ghc_fix_dynamic_rpath %{name}

Expected results:
%ghc_fix_dynamic_rpath Highlight

Comment 1 Jens Petersen 2014-08-25 03:01:57 UTC
Should be fixed by

https://github.com/juhp/cabal-rpm/commit/35f5b3acd0bb339e2334b7c22611a180f20e26ca

Comment 2 Fedora Update System 2014-08-27 01:41:41 UTC
cabal-rpm-0.9.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/cabal-rpm-0.9.1-1.fc20

Comment 3 Fedora Update System 2014-08-27 01:41:47 UTC
cabal-rpm-0.9.1-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/cabal-rpm-0.9.1-1.fc19

Comment 4 Fedora Update System 2014-08-27 01:41:52 UTC
cabal-rpm-0.9.1-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/cabal-rpm-0.9.1-1.el5

Comment 5 Fedora Update System 2014-08-27 01:41:59 UTC
cabal-rpm-0.9.1-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/cabal-rpm-0.9.1-1.el6

Comment 6 Fedora Update System 2014-08-28 15:31:10 UTC
Package cabal-rpm-0.9.1-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cabal-rpm-0.9.1-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-9822/cabal-rpm-0.9.1-1.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-09-09 22:22:54 UTC
cabal-rpm-0.9.1-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-09-09 22:24:55 UTC
cabal-rpm-0.9.1-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-10-17 17:41:30 UTC
cabal-rpm-0.9.1-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.