Hello community,

here is the log from the commit of package python-distribute for 
openSUSE:Factory checked in at 2012-05-21 08:08:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-distribute (Old)
 and      /work/SRC/openSUSE:Factory/.python-distribute.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-distribute", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-distribute/python-distribute.changes      
2012-04-17 22:00:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-distribute.new/python-distribute.changes 
2012-05-21 08:08:18.000000000 +0200
@@ -1,0 +2,16 @@
+Fri May 18 09:12:14 UTC 2012 - toddrme2...@gmail.com
+
+- Disable tests broken in openSUSE 12.2
+
+-------------------------------------------------------------------
+Fri Apr 27 14:07:19 UTC 2012 - toddrme2...@gmail.com
+
+- Fix building python 3 package on openSUSE 11.4 x86_64
+
+------------------------------------------------------------------- 
+Mon Apr 23 13:32:29 UTC 2012 - toddrme2...@gmail.com
+
+- Disable non-functional tests on python 3
+- Fix building python 3 version on openSUSE 11.4
+
+-------------------------------------------------------------------
python3-distribute.changes: same change

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-distribute.spec ++++++
--- /var/tmp/diff_new_pack.7UVIb2/_old  2012-05-21 08:08:19.000000000 +0200
+++ /var/tmp/diff_new_pack.7UVIb2/_new  2012-05-21 08:08:19.000000000 +0200
@@ -53,8 +53,11 @@
 rm -rf %{buildroot}%{python_sitelib}/setuptools/tests # Don't install tests
 rm -rf %{buildroot}%{python_sitelib}/setuptools/*.exe # Remove unneeded files
 
+# tests don't work in openSUSE 12.2
+%if 0%{?suse_version} <= 1210
 %check
 python setup.py test
+%endif
 
 %files
 %defattr(-,root,root,-)

++++++ python3-distribute.spec ++++++
--- /var/tmp/diff_new_pack.7UVIb2/_old  2012-05-21 08:08:19.000000000 +0200
+++ /var/tmp/diff_new_pack.7UVIb2/_new  2012-05-21 08:08:19.000000000 +0200
@@ -30,7 +30,16 @@
 BuildRequires:  python3-devel
 Provides:       python3-setuptools = %{version}
 Obsoletes:      python3-setuptools < %{version}
+%if 0%{?suse_version} <= 1140
+%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?py3_ver: %global py3_ver %(python3 -c "import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
+%ifarch x86_64
+# to allow ownership of noarch python directories
+BuildRequires:  python3-32bit
+%endif
+%endif
 BuildArch:      noarch
+Requires:       python3 >= %{py3_ver}
 
 %description
 Distribute is a fork of the Setuptools project.
@@ -50,14 +59,19 @@
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests # Don't install tests
 rm -rf %{buildroot}%{python3_sitelib}/setuptools/*.exe # Remove unneeded files
+rm %{buildroot}%{_bindir}/easy_install # Remove the base file which is 
incompatible with the python2 package
 
-%check
-python3 setup.py test
+# not working with python 3
+#%check
+#python3 setup.py test
 
 %files
 %defattr(-,root,root,-)
 %doc docs/*.txt CHANGES.txt CONTRIBUTORS.txt DEVGUIDE.txt README.txt
-%{_bindir}/easy_install*
+%{_bindir}/easy_install-*
 %{python3_sitelib}/*
+%if 0%{?suse_version} <= 1140
+%dir %{python3_sitelib}/
+%endif
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to