rpms/denyhosts/devel denyhosts.spec,1.21,1.22

Jason Tibbitts (tibbs) fedora-extras-commits at redhat.com
Mon Jan 30 22:15:57 UTC 2006


Author: tibbs

Update of /cvs/extras/rpms/denyhosts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3427

Modified Files:
	denyhosts.spec 
Log Message:
* Mon Jan 30 2006 Jason L Tibbitts III <tibbs at math.uh.edu> - 1.1.4-4
- Simplify "[ -f ... ] && rm" to "rm -f".



Index: denyhosts.spec
===================================================================
RCS file: /cvs/extras/rpms/denyhosts/devel/denyhosts.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- denyhosts.spec	30 Jan 2006 21:55:01 -0000	1.21
+++ denyhosts.spec	30 Jan 2006 22:15:56 -0000	1.22
@@ -1,6 +1,6 @@
 Name:           denyhosts
 Version:        1.1.4
-release:	3%{?dist}
+release:	4%{?dist}
 Summary:        A script to help thwart ssh server attacks
 
 Group:          Applications/System
@@ -74,8 +74,7 @@
 done
 
 find $RPM_BUILD_ROOT -name \*.pyo -exec rm {} \;
-[-f $RPM_BUILD_ROOT%{_bindir}/denyhosts.pyc ] && \
-  rm $RPM_BUILD_ROOT%{_bindir}/denyhosts.pyc
+rm -f $RPM_BUILD_ROOT%{_bindir}/denyhosts.pyc
 
 
 %clean
@@ -123,6 +122,9 @@
 %{_bindir}/denyhosts-control
 
 %changelog
+* Mon Jan 30 2006 Jason L Tibbitts III <tibbs at math.uh.edu> - 1.1.4-4
+- Simplify "[ -f ... ] && rm" to "rm -f".
+
 * Mon Jan 30 2006 Jason L Tibbitts III <tibbs at math.uh.edu> - 1.1.4-3
 - Delete stray .pyo and .pyc files that appear for no reason.
 




More information about the fedora-extras-commits mailing list