Hello community,

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

Package is "python-tornado", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tornado/python-tornado.changes    
2012-05-07 22:50:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-tornado.new/python-tornado.changes       
2012-05-22 08:18:38.000000000 +0200
@@ -1,0 +2,7 @@
+Fri May 18 15:27:08 UTC 2012 - [email protected]
+
+- Fix rpmlint warnings
+- Improve openSUSE 11.4 build fix
+- Clean up spec file
+
+-------------------------------------------------------------------
python3-tornado.changes: same change

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

Other differences:
------------------
++++++ python-tornado.spec ++++++
--- /var/tmp/diff_new_pack.ho0EkT/_old  2012-05-22 08:18:39.000000000 +0200
+++ /var/tmp/diff_new_pack.ho0EkT/_new  2012-05-22 08:18:39.000000000 +0200
@@ -28,7 +28,10 @@
 BuildRequires:  python-devel
 Requires:       python-pycurl
 Requires:       python-simplejson
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%if 0%{?suse_version}
+BuildRequires:  fdupes
+%endif
+%if 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %else
 BuildArch:      noarch
@@ -58,10 +61,17 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%if 0%{?suse_version}
+%fdupes demos
+%endif
+# fix executability rmplint warning
+chmod +x %{buildroot}%{python_sitelib}/%{modname}/*.py
+chmod +x %{buildroot}%{python_sitelib}/%{modname}/*/*.py
 
 %files
 %defattr(-,root,root,-)
 %doc README demos
 %{python_sitelib}/%{modname}
 %{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
+
 %changelog

++++++ python3-tornado.spec ++++++
--- /var/tmp/diff_new_pack.ho0EkT/_old  2012-05-22 08:18:39.000000000 +0200
+++ /var/tmp/diff_new_pack.ho0EkT/_new  2012-05-22 08:18:39.000000000 +0200
@@ -28,13 +28,12 @@
 BuildRequires:  python3-devel
 BuildRequires:  python3-2to3
 BuildRequires:  python3-distribute
+%if 0%{?suse_version}
+BuildRequires:  fdupes
+%endif
 %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}
@@ -65,10 +64,19 @@
 
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%fdupes demos
+# fix executability rpmlint warning
+chmod +x %{buildroot}%{python3_sitelib}/%{modname}/*.py
+chmod +x %{buildroot}%{python3_sitelib}/%{modname}/*/*.py
 
 %files
 %defattr(-,root,root,-)
 %doc README demos
 %{python3_sitelib}/%{modname}
 %{python3_sitelib}/%{modname}-%{version}-py%{py3_ver}.egg-info
+%if 0%{?suse_version} <= 1140
+%dir %{_prefix}/lib/python%{py3_ver}
+%dir %{python3_sitelib}
+%endif
+
 %changelog

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

Reply via email to