]> git.pld-linux.org Git - packages/DenyHosts.git/commitdiff
- - BR: python-modules, rpm-pythonprov; spaces -> tabs
authorzbyniu <zbyniu@pld-linux.org>
Fri, 29 Jul 2005 22:02:03 +0000 (22:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    DenyHosts.spec -> 1.9

DenyHosts.spec

index 31e455334351784dda514143c8cfec807ccfe256..4639ed8be27252939d8261799b5ac74a09ccf9c0 100644 (file)
@@ -11,8 +11,9 @@ Source1:      %{name}.cron
 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)
 
@@ -64,17 +65,17 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.121876 seconds and 4 git commands to generate.