Hello community,

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

Package is "python-pyflakes", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyflakes/python-pyflakes.changes  
2012-05-07 22:50:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyflakes.new/python-pyflakes.changes     
2012-05-14 16:18:25.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Apr 27 14:07:19 UTC 2012 - [email protected]
+
+- Fix building python 3 package on openSUSE 11.4 x86_64
+
+-------------------------------------------------------------------
python3-pyflakes.changes: same change

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

Other differences:
------------------
++++++ python3-pyflakes.spec ++++++
--- /var/tmp/diff_new_pack.k3m8r7/_old  2012-05-14 16:18:26.000000000 +0200
+++ /var/tmp/diff_new_pack.k3m8r7/_new  2012-05-14 16:18:26.000000000 +0200
@@ -14,8 +14,6 @@
 #
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
-%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 
 Name:           python3-pyflakes
 Version:        0.5.0
@@ -26,11 +24,19 @@
 Group:          Development/Languages/Python
 Source:         pyflakes-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python3
+BuildRequires:  python3-2to3
 BuildRequires:  python3-devel
-Requires:       python3 >= %{py3_ver}
-%if 0%{?suse_version} > 1110
-BuildArch:      noarch
+%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
 Pyflakes is program to analyze Python programs and detect various errors. It
@@ -49,7 +55,10 @@
 
 %files
 %defattr(-,root,root,-)
-%{python3_sitelib}/*
 %{_bindir}/pyflakes-python%{py3_ver}
+%{python3_sitelib}/*
+%if 0%{?suse_version} <= 1140
+%dir %{python3_sitelib}
+%endif
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to