rpms/haskell-platform/devel haskell-platform.spec,1.3,1.4

Jens Petersen petersen at fedoraproject.org
Thu Jan 28 02:27:50 UTC 2010


Author: petersen

Update of /cvs/extras/rpms/haskell-platform/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11836

Modified Files:
	haskell-platform.spec 
Log Message:
- add filelist for shared libs
- update devel post and postun




Index: haskell-platform.spec
===================================================================
RCS file: /cvs/extras/rpms/haskell-platform/devel/haskell-platform.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- haskell-platform.spec	27 Jan 2010 07:46:23 -0000	1.3
+++ haskell-platform.spec	28 Jan 2010 02:27:50 -0000	1.4
@@ -41,7 +41,7 @@ distilled from Hackage.
 
 Name:           %{pkg_name}
 Version:        2009.3.1.20100115
-Release:        0.1%{?dist}
+Release:        0.2%{?dist}
 Summary:        Standard Haskell distribution
 
 Group:          Development/Tools
@@ -134,7 +134,7 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %post -n ghc-%{name}-devel
-%ghc_register_pkg
+ghc-pkg recache
 
 
 %post -n ghc-%{name}-doc
@@ -142,9 +142,7 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %preun -n ghc-%{name}-devel
-if [ "$1" -eq 0 ] ; then
-  %ghc_unregister_pkg
-fi
+ghc-pkg recache
 
 
 %postun -n ghc-%{name}-doc
@@ -158,6 +156,10 @@ fi
 %doc LICENSE
 
 
+%files -n ghc-%{name} -f ghc-%{name}.files
+%defattr(-,root,root,-)
+
+
 %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
 %defattr(-,root,root,-)
 
@@ -171,6 +173,10 @@ fi
 
 
 %changelog
+* Thu Jan 28 2010 Jens Petersen <petersen at redhat.com> - 2009.3.1.20100115-0.2
+- add filelist for shared libs
+- update devel post and postun
+
 * Sat Jan 16 2010 Jens Petersen <petersen at redhat.com> - 2009.3.1.20100115-0.1
 - update to darcs snapshot patched for ghc-6.12.1
 - update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:



More information about the scm-commits mailing list