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.