[haskell-platform] expand %ghc_devel_post_postun haskell-platform for now until %ghc_devel_post_postun() backported

Jens Petersen petersen at fedoraproject.org
Thu Jun 7 12:10:47 UTC 2012


commit f728cd602158126ff09628fb72fcbbb331da805a
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Jun 7 21:10:42 2012 +0900

    expand %ghc_devel_post_postun haskell-platform for now until %ghc_devel_post_postun() backported

 haskell-platform.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/haskell-platform.spec b/haskell-platform.spec
index 57fffd8..e9f38d3 100644
--- a/haskell-platform.spec
+++ b/haskell-platform.spec
@@ -255,8 +255,14 @@ 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 %{version}
 
 
 %files


More information about the scm-commits mailing list