SPECS: apache-mod_nss.spec - add missing service restart

glen glen at pld-linux.org
Tue Jun 17 08:10:03 CEST 2008


Author: glen                         Date: Tue Jun 17 06:10:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add missing service restart

---- Files affected:
SPECS:
   apache-mod_nss.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/apache-mod_nss.spec
diff -u SPECS/apache-mod_nss.spec:1.11 SPECS/apache-mod_nss.spec:1.12
--- SPECS/apache-mod_nss.spec:1.11	Tue Jun 17 07:05:10 2008
+++ SPECS/apache-mod_nss.spec	Tue Jun 17 08:09:58 2008
@@ -5,7 +5,7 @@
 Summary(pl.UTF-8):	mod_nss - silna kryptografia dla Apache'a przy użyciu biblioteki SSL/TLS NSS
 Name:		apache-mod_nss
 Version:	1.0.7
-Release:	0.2
+Release:	0.3
 License:	Apache v2.0
 Group:		Networking/Daemons
 Source0:	http://directory.fedoraproject.org/sources/mod_nss-%{version}.tar.gz
@@ -76,6 +76,14 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%service -q httpd restart
+
+%postun
+if [ "$1" = "0" ]; then
+	%service -q httpd restart
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc NOTICE README TODO docs/mod_nss.html
@@ -89,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2008/06/17 06:09:58  glen
+- add missing service restart
+
 Revision 1.11  2008/06/17 05:05:10  glen
 - add apache config
 - NOTE: not conflicting with mod_ssl due listening on 8443 port by default
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/apache-mod_nss.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list