Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: RFE: make cabal2spec extract license from .cabal files
https://bugzilla.redhat.com/show_bug.cgi?id=783622
Summary: RFE: make cabal2spec extract license from .cabal files Product: Fedora Version: 16 Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: low Priority: unspecified Component: cabal2spec AssignedTo: petersen@redhat.com ReportedBy: ssato@redhat.com QAContact: extras-qa@fedoraproject.org CC: petersen@redhat.com, fedora-haskell-list@redhat.com Classification: Fedora Story Points: --- Type: --- Regression: --- Mount Type: --- Documentation: ---
Created attachment 556664 --> https://bugzilla.redhat.com/attachment.cgi?id=556664 An experimental patch to make cabal2spec extract license information from .cabal files
Description of problem: Current version of cabal2spec does not extract license information in .cabal files and packagers have to replace @LICENSE@ in output rpm spec by hand.
I wrote an experimental patch to implement $summary.
Version-Release number of selected component (if applicable): cabal2spec-0.25.2-1.fc16.noarch
Additional info:
License name in .cabal files and rpm spec do not match in actual; e.g. BSD3 vs. BSD, GPL vs. GPL{2,3}[+]?. So somehow cabal2spec has to detect it automatically.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=783622
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #1 from Jens Petersen petersen@redhat.com 2012-01-23 03:51:40 EST --- Thank you for the patch!
I had wanted to do this for a long time (actually want to rewrite cabal2spec in Haskell of course:), so great to have this now. Getting depends out too is probably going to overstretch bash. :)
Your changes are integrated in cabal2spec-0.25.3, built now for rawhide, and should get backported later to current Fedora releases.
http://koji.fedoraproject.org/koji/buildinfo?buildID=294866
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=783622
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ASSIGNED
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=783622
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=783622
--- Comment #2 from Fedora Update System updates@fedoraproject.org 2012-01-25 20:25:34 EST --- cabal2spec-0.25.4-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/cabal2spec-0.25.4-1.fc15
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=783622
--- Comment #3 from Fedora Update System updates@fedoraproject.org 2012-01-25 20:25:43 EST --- cabal2spec-0.25.4-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/cabal2spec-0.25.4-1.fc16
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=783622
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #4 from Fedora Update System updates@fedoraproject.org 2012-01-26 17:53:22 EST --- Package cabal2spec-0.25.4-1.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cabal2spec-0.25.4-1.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0944/cabal2spec-0.25.4-1... then log in and leave karma (feedback).
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=783622
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |cabal2spec-0.25.4-1.fc16 Resolution| |ERRATA Last Closed| |2012-02-10 16:54:35
--- Comment #5 from Fedora Update System updates@fedoraproject.org 2012-02-10 16:54:35 EST --- cabal2spec-0.25.4-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=783622
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|cabal2spec-0.25.4-1.fc16 |cabal2spec-0.25.4-1.fc15
--- Comment #6 from Fedora Update System updates@fedoraproject.org 2012-02-14 04:05:42 EST --- cabal2spec-0.25.4-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
haskell-devel@lists.fedoraproject.org