[cabal2spec] extract License field from .cabal file and handle DOS encoded .cabal files

Jens Petersen petersen at fedoraproject.org
Mon Jan 23 08:37:51 UTC 2012


commit 56155a447cd1f55dbd27ff36007e2fe5c7182478
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Jan 23 17:37:45 2012 +0900

    extract License field from .cabal file and handle DOS encoded .cabal files
    
    - allow whitespace after 'exposed-modules'
    - CABAL2SPEC_VERSION now set in cabal2spec instead of the templates

 .gitignore      |    1 +
 cabal2spec.spec |   10 ++++++++--
 sources         |    2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3c9e3c3..94a0781 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@ cabal2spec-0.22.2.tar.gz
 /cabal2spec-0.25.tar.gz
 /cabal2spec-0.25.1.tar.gz
 /cabal2spec-0.25.2.tar.gz
+/cabal2spec-0.25.3.tar.gz
diff --git a/cabal2spec.spec b/cabal2spec.spec
index c04130e..ff5ee3a 100644
--- a/cabal2spec.spec
+++ b/cabal2spec.spec
@@ -1,6 +1,6 @@
 Name:           cabal2spec
-Version:        0.25.2
-Release:        2%{?dist}
+Version:        0.25.3
+Release:        1%{?dist}
 Summary:        Tool for creating .spec files for Haskell Cabal Packages
 
 Group:          Development/Languages
@@ -32,6 +32,12 @@ make install DESTDIR=${RPM_BUILD_ROOT}
 
 
 %changelog
+* Mon Jan 23 2012 Jens Petersen <petersen at redhat.com> - 0.25.3-1
+- extract License field from .cabal file (based on patch by Satoru Satou)
+- handle DOS encoded .cabal files
+- allow whitespace after 'exposed-modules'
+- CABAL2SPEC_VERSION is now set in cabal2spec instead of the templates
+
 * Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.25.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 0644079..8989221 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-28548650434caa138088e79bce71768d  cabal2spec-0.25.2.tar.gz
+382ca8ecfd2912c21a951409fcc68f1b  cabal2spec-0.25.3.tar.gz


More information about the scm-commits mailing list