SPECS: mini_httpd.spec - fixed scripts; rel 4, STBR

glen glen at pld-linux.org
Mon Feb 20 22:04:17 CET 2006


Author: glen                         Date: Mon Feb 20 21:04:17 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed scripts; rel 4, STBR

---- Files affected:
SPECS:
   mini_httpd.spec (1.28 -> 1.29) 

---- Diffs:

================================================================
Index: SPECS/mini_httpd.spec
diff -u SPECS/mini_httpd.spec:1.28 SPECS/mini_httpd.spec:1.29
--- SPECS/mini_httpd.spec:1.28	Tue Dec 13 14:58:51 2005
+++ SPECS/mini_httpd.spec	Mon Feb 20 22:04:12 2006
@@ -3,7 +3,7 @@
 Summary(pl):	Mały, prosty serwer HTTP ze wsparciem dla SSL
 Name:		mini_httpd
 Version:	1.19
-Release:	3.1
+Release:	4
 License:	freely distributable
 Group:		Networking/Daemons
 Source0:	http://www.acme.com/software/mini_httpd/%{name}-%{version}.tar.gz
@@ -12,6 +12,7 @@
 Source2:	%{name}.config
 URL:		http://www.acme.com/software/mini_httpd/
 BuildRequires:	openssl-devel >= 0.9.7d
+BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post,preun):	/sbin/chkconfig
 Requires:	htpasswd
 Requires:	rc-scripts
@@ -84,10 +85,11 @@
 %post
 /sbin/chkconfig %{name} reset
 /sbin/chkconfig --add %{name}
+%service %{name} restart
 
 %preun
 if [ "$1" = "0" ]; then
-	/etc/rc.d/init.d/%{name} stop
+	%service %{name} stop
 	/sbin/chkconfig --del %{name}
 fi
 
@@ -114,6 +116,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.29  2006/02/20 21:04:12  glen
+- fixed scripts; rel 4, STBR
+
 Revision 1.28  2005/12/13 13:58:51  glen
 - adapterized (sorted %verify attrs)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mini_httpd.spec?r1=1.28&r2=1.29&f=u



More information about the pld-cvs-commit mailing list