From e99897a06052b72d4f2f9f807ebbbd323474312d Mon Sep 17 00:00:00 2001
From: Jens Petersen <petersen@redhat.com>
Date: Wed, 28 Dec 2011 13:35:35 +0900
Subject: [PATCH] use ghc_devel_post_postun (cabal2spec-0.25.2)

---
 ghc-syb.spec | 9 ++-------
 1 file 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@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@redhat.com> - 0.3-8