packages (DEVEL): ghc/ghc.spec - package cache can be overwritten as it'll ...
baggins
baggins at pld-linux.org
Fri Aug 27 12:33:51 CEST 2010
Author: baggins Date: Fri Aug 27 10:33:51 2010 GMT
Module: packages Tag: DEVEL
---- Log message:
- package cache can be overwritten as it'll be regenerated in post
---- Files affected:
packages/ghc:
ghc.spec (1.105.2.6 -> 1.105.2.7)
---- Diffs:
================================================================
Index: packages/ghc/ghc.spec
diff -u packages/ghc/ghc.spec:1.105.2.6 packages/ghc/ghc.spec:1.105.2.7
--- packages/ghc/ghc.spec:1.105.2.6 Fri Aug 27 01:33:25 2010
+++ packages/ghc/ghc.spec Fri Aug 27 12:33:46 2010
@@ -215,7 +215,10 @@
rm -rf $RPM_BUILD_ROOT
%post
-ghc-pkg recache
+%{_bindir}/ghc-pkg recache
+
+%postun
+%{_bindir}/ghc-pkg recache
%files
%defattr(644,root,root,755)
@@ -246,7 +249,7 @@
%{_libdir}/ghc-%{version}/html
%dir %{_libdir}/ghc-%{version}/package.conf.d
%{_libdir}/ghc-%{version}/package.conf.d/*.conf
-%config(noreplace) %verify(not md5 mtime size) %{_libdir}/ghc-%{version}/package.conf.d/package.cache
+%config %verify(not md5 mtime size) %{_libdir}/ghc-%{version}/package.conf.d/package.cache
%{_libdir}/ghc-%{version}/template-hsc.h
%{_mandir}/man1/ghc.1*
@@ -809,6 +812,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.105.2.7 2010/08/27 10:33:46 baggins
+- package cache can be overwritten as it'll be regenerated in post
+
Revision 1.105.2.6 2010/08/26 23:33:25 baggins
- removed outdated (gmp) and invalid (ffi) TODO
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc/ghc.spec?r1=1.105.2.6&r2=1.105.2.7&f=u
More information about the pld-cvs-commit
mailing list