SPECS: DenyHosts.spec - - BR: python-modules, rpm-pythonprov; spac...

zbyniu zbyniu at pld-linux.org
Sat Jul 30 00:02:08 CEST 2005


Author: zbyniu                       Date: Fri Jul 29 22:02:08 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- - BR: python-modules, rpm-pythonprov; spaces -> tabs

---- Files affected:
SPECS:
   DenyHosts.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/DenyHosts.spec
diff -u SPECS/DenyHosts.spec:1.8 SPECS/DenyHosts.spec:1.9
--- SPECS/DenyHosts.spec:1.8	Fri Jul 29 12:08:42 2005
+++ SPECS/DenyHosts.spec	Sat Jul 30 00:02:03 2005
@@ -12,8 +12,9 @@
 Source2:	%{name}.cfg
 Source3:	%{name}.init
 URL:		http://denyhosts.sourceforge.net/
-BuildRequires:	python
 BuildRequires:	python-devel
+BuildRequires:	python-modules
+BuildRequires:	rpm-pythonprov
 Requires:	python
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -65,17 +66,17 @@
 %post
 /sbin/chkconfig --add %{name}
 if [ -r /var/lock/subsys/DenyHosts ]; then
-        /etc/rc.d/init.d/DenyHosts restart >&2
+	/etc/rc.d/init.d/DenyHosts restart >&2
 else
-        echo "Run \"/etc/rc.d/init.d/DenyHosts start\" to start DenyHosts."
+	echo "Run \"/etc/rc.d/init.d/DenyHosts start\" to start DenyHosts."
 fi
 
 %preun
 if [ "$1" = "0" ]; then
-        if [ -r /var/lock/subsys/DenyHosts ]; then
-                /etc/rc.d/init.d/DenyHosts stop >&2
-        fi
-        /sbin/chkconfig --del %{name}
+	if [ -r /var/lock/subsys/DenyHosts ]; then
+		/etc/rc.d/init.d/DenyHosts stop >&2
+	fi
+	/sbin/chkconfig --del %{name}
 fi
 
 %files
@@ -97,6 +98,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2005/07/29 22:02:03  zbyniu
+- - BR: python-modules, rpm-pythonprov; spaces -> tabs
+
 Revision 1.8  2005/07/29 10:08:42  darekr
 - fixed perms for init script
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/DenyHosts.spec?r1=1.8&r2=1.9&f=u




More information about the pld-cvs-commit mailing list