[ghc-syb] use ghc_devel_post_postun (cabal2spec-0.25.2)

Jens Petersen petersen at fedoraproject.org
Wed Dec 28 04:35:45 UTC 2011


commit e99897a06052b72d4f2f9f807ebbbd323474312d
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Dec 28 13:35:35 2011 +0900

    use ghc_devel_post_postun (cabal2spec-0.25.2)

 ghc-syb.spec |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/ghc-syb.spec b/ghc-syb.spec
index aeb9925..34598d3 100644
--- a/ghc-syb.spec
+++ b/ghc-syb.spec
@@ -46,12 +46,7 @@ BuildRequires:  ghc-base-prof
 %ghc_lib_install
 
 
-%post -n ghc-%{pkg_name}-devel
-%ghc_pkg_recache
-
-
-%postun -n ghc-%{pkg_name}-devel
-%ghc_pkg_recache
+%ghc_devel_post_postun
 
 
 %ghc_files
@@ -61,7 +56,7 @@ BuildRequires:  ghc-base-prof
 %changelog
 * Tue Dec 27 2011 Jens Petersen <petersen at redhat.com> - 0.3.3-1
 - update to 0.3.3 for haskell-platform-2011.4.0.0
-- update to cabal2spec-0.25.1
+- update to cabal2spec-0.25.2
 - add README to devel doc
 
 * Fri Oct 21 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.3-8


More information about the scm-commits mailing list