packages: python-distribute/python-distribute.spec - no support for python3...

jajcus jajcus at pld-linux.org
Fri Jul 15 14:16:44 CEST 2011


Author: jajcus                       Date: Fri Jul 15 12:16:44 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- no support for python3 < 3.2 any more

---- Files affected:
packages/python-distribute:
   python-distribute.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: packages/python-distribute/python-distribute.spec
diff -u packages/python-distribute/python-distribute.spec:1.23 packages/python-distribute/python-distribute.spec:1.24
--- packages/python-distribute/python-distribute.spec:1.23	Sat Jul  2 17:03:11 2011
+++ packages/python-distribute/python-distribute.spec	Fri Jul 15 14:16:39 2011
@@ -104,15 +104,9 @@
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
-# shutup check-files
-%if "%{py3_ver}" < "3.2"
-%py3_postclean
-%endif
 rm $RPM_BUILD_ROOT%{_bindir}/easy_install
 rm $RPM_BUILD_ROOT%{py3_sitescriptdir}/setuptools/*.exe
 rm -rf $RPM_BUILD_ROOT%{py3_sitescriptdir}/setuptools/tests
-# reinstall site.py deleted by py3_postclean
-cp build-3/lib/site.py $RPM_BUILD_ROOT%{py3_sitescriptdir}/site.py
 %endif
 
 %clean
@@ -145,13 +139,6 @@
 %dir %{py3_sitescriptdir}/setuptools/command
 %{py3_sitescriptdir}/site.py
 %{py3_sitescriptdir}/setuptools.pth
-%if "%{py3_ver}" < "3.2"
-%{py3_sitescriptdir}/pkg_resources.py[co]
-%{py3_sitescriptdir}/easy_install.py[co]
-%{py3_sitescriptdir}/site.py[co]
-%{py3_sitescriptdir}/setuptools/*.py[co]
-%{py3_sitescriptdir}/setuptools/command/*.py[co]
-%else
 %dir %{py3_sitescriptdir}/__pycache__
 %{py3_sitescriptdir}/pkg_resources.py
 %{py3_sitescriptdir}/__pycache__/pkg_resources.*.py[co]
@@ -165,7 +152,6 @@
 %{py3_sitescriptdir}/setuptools/command/*.py
 %{py3_sitescriptdir}/setuptools/command/__py[co]ache__/*.py[co]
 %endif
-%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -173,6 +159,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2011/07/15 12:16:39  jajcus
+- no support for python3 < 3.2 any more
+
 Revision 1.23  2011/07/02 15:03:11  jajcus
 - Python 3.2 support (include *.py and __pycache__/*.py[co])
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-distribute/python-distribute.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list