SPECS: apache-mod_xslt2.spec - fix ldconfig

glen glen at pld-linux.org
Fri Apr 14 19:12:02 CEST 2006


Author: glen                         Date: Fri Apr 14 17:12:02 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix ldconfig

---- Files affected:
SPECS:
   apache-mod_xslt2.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/apache-mod_xslt2.spec
diff -u SPECS/apache-mod_xslt2.spec:1.13 SPECS/apache-mod_xslt2.spec:1.14
--- SPECS/apache-mod_xslt2.spec:1.13	Fri Apr 14 19:07:56 2006
+++ SPECS/apache-mod_xslt2.spec	Fri Apr 14 19:11:57 2006
@@ -21,7 +21,7 @@
 BuildRequires:	libxslt-devel
 BuildRequires:	pcre-devel
 BuildRequires:	rpmbuild(macros) >= 1.268
-Requires(post):	/sbin/ldconfig
+Requires(post,postun):	/sbin/ldconfig
 Requires:	apache(modules-api) = %apache_modules_api
 Conflicts:	apache-mod_xslt
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -102,12 +102,11 @@
 %service -q httpd restart
 
 %postun
+/sbin/ldconfig
 if [ "$1" = "0" ]; then
 	%service -q httpd restart
 fi
 
-%postun	-p /sbin/ldconfig
-
 %files
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_%{mod_name}.conf
@@ -130,6 +129,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2006/04/14 17:11:57  glen
+- fix ldconfig
+
 Revision 1.13  2006/04/14 17:07:56  glen
 - restart apache in %postun rather in %preun as the config file, loading module
   is still there and module will be loaded after package is uninstalled, which
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apache-mod_xslt2.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list