[haskell-platform] fix packaging of license files when building without shared libraries

Jens Petersen petersen at fedoraproject.org
Thu Jul 25 02:54:53 UTC 2013


commit 79ebbe76f81b9d20027cfca5e86ea8fd80f05688
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Jul 25 11:54:30 2013 +0900

    fix packaging of license files when building without shared libraries

 haskell-platform.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/haskell-platform.spec b/haskell-platform.spec
index 73363d6..e01786a 100644
--- a/haskell-platform.spec
+++ b/haskell-platform.spec
@@ -24,7 +24,7 @@ Version:        2013.2.0.0
 # - release can only be reset if all library versions get bumped simultaneously
 #   (eg for a major release)
 # - minor release numbers should be incremented monotonically
-Release:        23%{?dist}
+Release:        24%{?dist}
 Summary:        Standard Haskell distribution
 
 Group:          Development/Tools
@@ -261,7 +261,7 @@ alex|cabal-install|happy)
 ;;
 *)
 %ghc_lib_install $name $ver
-echo "%doc packages/$name-$ver/LICENSE" >> ghc-$name%{?ghc_without_shared:-devel}.files
+echo "%doc packages/$name-$ver/LICENSE" >> ghc-$name.files
 ;;
 esac
 cd ..
@@ -339,6 +339,9 @@ mv %{buildroot}%{_datadir}/HUnit-*/* %{buildroot}%{_docdir}/ghc-HUnit-*/
 
 
 %changelog
+* Thu Jul 25 2013 Jens Petersen <petersen at redhat.com> - 2013.2.0.0-24
+- fix packaging of license files when building without shared libraries
+
 * Sat May  4 2013 Jens Petersen <petersen at redhat.com> - 2013.2.0.0-23
 - update to 2013.2.0.0
 - new packages: GLURaw, OpenGLRaw


More information about the scm-commits mailing list