[ghc-MonadCatchIO-transformers] fix dos encoding of LICENSE file

Jens Petersen petersen at fedoraproject.org
Tue Nov 1 08:54:09 UTC 2011


commit e6ec9de4628d00dc5f8f96c21e78518c7446c22f
Author: Jens Petersen <petersen at redhat.com>
Date:   Tue Nov 1 17:54:07 2011 +0900

    fix dos encoding of LICENSE file

 ghc-MonadCatchIO-transformers.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ghc-MonadCatchIO-transformers.spec b/ghc-MonadCatchIO-transformers.spec
index a125a8e..2530c57 100644
--- a/ghc-MonadCatchIO-transformers.spec
+++ b/ghc-MonadCatchIO-transformers.spec
@@ -14,7 +14,7 @@ by creating an instance of the MonadCatchIO class.
 
 Name:           ghc-%{pkg_name}
 Version:        0.2.2.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
@@ -53,6 +53,9 @@ This package contains the development files.
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
+# fix dos encoding
+sed -i 's/\r//' LICENSE
+
 
 %build
 %ghc_lib_build
@@ -79,6 +82,9 @@ This package contains the development files.
 
 
 %changelog
+* Tue Nov  1 2011 Jens Petersen <petersen at redhat.com> - 0.2.2.3-2
+- fix dos encoding of LICENSE file (#746415)
+
 * Sat Oct 29 2011 Jens Petersen <petersen at redhat.com> - 0.2.2.3-1
 - update to 0.2.2.3, relicensed upstream to BSD
 


More information about the scm-commits mailing list