[haskell-platform] for mock/koji use %ghc_devel_description haskell-platform and revert to %ghc_devel_post_postun haske
Jens Petersen
petersen at fedoraproject.org
Fri Jun 8 00:12:27 UTC 2012
commit 31713826477b92adf57613f2c46e4ec4710fc43b
Author: Jens Petersen <petersen at redhat.com>
Date: Fri Jun 8 09:12:14 2012 +0900
for mock/koji use %ghc_devel_description haskell-platform and revert to %ghc_devel_post_postun haskell-platform
haskell-platform.spec | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/haskell-platform.spec b/haskell-platform.spec
index e9f38d3..6525b5e 100644
--- a/haskell-platform.spec
+++ b/haskell-platform.spec
@@ -152,7 +152,7 @@ Requires: ghc-libraries = %{ghc_compiler_version}
# added in F17 devel cycle
Obsoletes: ghc-haskell-platform < %{version}-%{release}
-%description -n ghc-haskell-platform-devel
+%ghc_devel_description haskell-platform
Haskell Platform is a suite of stable and well used Haskell libraries
and tools. It provides a good starting environment for Haskell development.
@@ -255,14 +255,8 @@ mv %{buildroot}%{_docdir}/ghc-haskell-platform{,-devel}-%{version}
mv */*.files ..
cd ..
-# after ghc_devel_post_postun() backported, replace with:
-#%%ghc_devel_post_postun haskell-platform
-%post -n ghc-haskell-platform-devel
-%ghc_pkg_recache
-
-%postun -n ghc-haskell-platform-devel
-%ghc_pkg_recache
+%ghc_devel_post_postun haskell-platform
%files
More information about the scm-commits
mailing list