Author: glen                         Date: Fri Feb 17 10:43:22 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %service

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

---- Diffs:

================================================================
Index: SPECS/rbldnsd.spec
diff -u SPECS/rbldnsd.spec:1.11 SPECS/rbldnsd.spec:1.12
--- SPECS/rbldnsd.spec:1.11     Mon Dec  5 00:17:15 2005
+++ SPECS/rbldnsd.spec  Fri Feb 17 11:43:16 2006
@@ -1,21 +1,18 @@
 # $Revision$, $Date$
-
 # TODO:
 # - uid and group for rbldns user
 # - proper init script, .default probably should be sysconfig
-
 Summary:       Small fast daemon to serve DNSBLs
 Summary(pl):   Mały, szybki demon obsługujący zapytania DNSBL
 Name:          rbldnsd
 Version:       0.995
-Release:       0.1
+Release:       0.2
 License:       GPL v2+
 Group:         Networking/Daemons
-Vendor:                Michael Tokarev <[EMAIL PROTECTED]>
 Source0:       http://www.corpit.ru/mjt/rbldnsd/%{name}_%{version}.tar.gz
 # Source0-md5: 888a61e9a296a1b76db0c94ca44c612a
 URL:           http://www.corpit.ru/mjt/rbldnsd.html
-BuildRequires: rpmbuild(macros) >= 1.202
+BuildRequires: rpmbuild(macros) >= 1.268
 Requires(post,preun):  /sbin/chkconfig
 Requires(postun):      /usr/sbin/userdel
 Requires(pre): /bin/id
@@ -64,17 +61,11 @@
 
 %post
 /sbin/chkconfig --add rbldnsd
-if [ -f /var/lock/subsys/rbldnsd ]; then
-       /etc/rc.d/init.d/rbldnsd restart >&2
-else
-       echo "Run \"/etc/rc.d/init.d/rbldnsd start\" to start rbldnsd daemon." 
>&2
-fi
+%service rbldnsd restart
 
 %preun
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/rbldnsd ]; then
-               /etc/rc.d/init.d/rbldnsd stop >&2 || :
-       fi
+       %service rbldnsd stop
        /sbin/chkconfig --del rbldnsd
 fi
 
@@ -98,6 +89,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2006/02/17 10:43:16  glen
+- use %service
+
 Revision 1.11  2005/12/04 23:17:15  glen
 - adapterized (sorted %verify flags)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/rbldnsd.spec?r1=1.11&r2=1.12&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to