rpms/python-setuptools/devel python-setuptools.spec,1.26,1.27

Toshio くらとみ toshio at fedoraproject.org
Tue Nov 17 03:30:30 UTC 2009


Author: toshio

Update of /cvs/pkgs/rpms/python-setuptools/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22694

Modified Files:
	python-setuptools.spec 
Log Message:
string comparison => number.



Index: python-setuptools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-setuptools/devel/python-setuptools.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -p -r1.26 -r1.27
--- python-setuptools.spec	16 Nov 2009 17:48:49 -0000	1.26
+++ python-setuptools.spec	17 Nov 2009 03:30:29 -0000	1.27
@@ -59,7 +59,7 @@ find $RPM_BUILD_ROOT%{python_sitelib} -n
 chmod +x $RPM_BUILD_ROOT%{python_sitelib}/setuptools/command/easy_install.py
 
 %pre
-if [ $1 -gt 0 ] ; then
+if [ $1 == 2 ] ; then
     OLDDIR="%{python_sitelib}/setuptools-0.6c9-py2.6.egg-info"
     if [ -d $OLDDIR ] ; then
         rm -rf $OLDDIR




More information about the scm-commits mailing list