Hello community,

here is the log from the commit of package python-Cython for openSUSE:Factory 
checked in at 2012-11-28 14:32:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Cython (Old)
 and      /work/SRC/openSUSE:Factory/.python-Cython.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Cython", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Cython/python-Cython.changes      
2012-05-29 11:37:21.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-Cython.new/python-Cython.changes 
2012-11-28 14:32:55.000000000 +0100
@@ -1,0 +2,9 @@
+Thu Nov 22 15:32:14 UTC 2012 - [email protected]
+
+- Update to version 0.17.2:
+  + Please see http://wiki.cython.org/ReleaseNotes-0.18.2
+- Drop excessive macro usage
+- No need for "-fno-strict-aliasing" anymore
+- One rpmlintrc is enough
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/python-Cython/python3-Cython.changes     
2012-06-15 16:31:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-Cython.new/python3-Cython.changes        
2012-11-28 14:32:55.000000000 +0100
@@ -1,0 +2,10 @@
+Thu Nov 22 15:33:16 UTC 2012 - [email protected]
+
+- Update to version 0.17.2:
+  + Please see http://wiki.cython.org/ReleaseNotes-0.18.2
+- Drop excessive macro usage
+- No need for "-fno-strict-aliasing" anymore
+- One rpmlintrc is enough
+- Python3 binary suffix should be "-%{py3_ver}"
+
+-------------------------------------------------------------------

Old:
----
  Cython-0.16.tar.gz
  python-Cython-rpmlintrc
  python3-Cython-rpmlintrc

New:
----
  Cython-0.17.2.tar.gz
  rpmlintrc

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

Other differences:
------------------
++++++ python-Cython.spec ++++++
--- /var/tmp/diff_new_pack.zTlQDj/_old  2012-11-28 14:32:57.000000000 +0100
+++ /var/tmp/diff_new_pack.zTlQDj/_new  2012-11-28 14:32:57.000000000 +0100
@@ -15,28 +15,23 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define modname Cython
-%define binname cython
-Name:           python-%{modname}
-Version:        0.16
+
+Name:           python-Cython
+Version:        0.17.2
 Release:        0
 Url:            http://www.cython.org
 Summary:        The Cython compiler for writing C extensions for the Python 
language
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/C/%{modname}/%{modname}-%{version}.tar.gz
-Source99:       python-Cython-rpmlintrc
+Source:         
http://pypi.python.org/packages/source/C/Cython/Cython-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
 BuildRequires:  python-devel
-%if 0%{?suse_version}
-%py_requires
-%endif
-%if 0%{?suse_version} <= 1110
-%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%endif
 Provides:       python-cython = %{version}
 Obsoletes:      python-cython < %{version}
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%endif
 
 %description
 The Cython language makes writing C extensions for the Python language as
@@ -54,19 +49,16 @@
 code.
 
 %prep
-%setup -q -n %{modname}-%{version}
-sed -i "1d" {Cython/Debugger/libpython,Cython/Debugger/Cygdb,cython}.py # Fix 
non-executable scripts
+%setup -q -n Cython-%{version}
+sed -i "s|^#!.*||" {Cython/Debugger/libpython,Cython/Debugger/Cygdb,cython}.py 
# Fix non-executable scripts
+sed -i "s|\r||" Demos/callback/{README.txt,cheesefinder.h} 
Demos/embed/Makefile.{unix,msc.static} Doc/primes.c # Fix EOL encoding
 
 %build
-CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
+CFLAGS="%{optflags}" python setup.py build
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%fdupes -s %{buildroot}
-# fix EOL encoding
-sed -i 's/\r$//' Demos/callback/{README.txt,cheesefinder.h}
-sed -i 's/\r$//' Demos/embed/{Makefile.unix,Makefile.msc.static} 
-sed -i 's/\r$//' Doc/primes.c
+%fdupes -s %{buildroot}%{python_sitearch} %{buildroot}%{_docdir}
 
 # Disabled testsuite as it takes a long time:
 #%%check
@@ -76,10 +68,10 @@
 %defattr(-,root,root,-)
 %doc COPYING.txt LICENSE.txt README.txt ToDo.txt USAGE.txt Doc Demos
 %{_bindir}/cygdb
-%{_bindir}/%{binname}
-%{python_sitearch}/%{modname}/
-%{python_sitearch}/%{modname}-%{version}-py%{py_ver}.egg-info
-%{python_sitearch}/%{binname}.py*
+%{_bindir}/cython
+%{python_sitearch}/Cython/
+%{python_sitearch}/Cython-%{version}-py%{py_ver}.egg-info
+%{python_sitearch}/cython.py*
 %{python_sitearch}/pyximport/
 
 %changelog

++++++ python3-Cython.spec ++++++
--- /var/tmp/diff_new_pack.zTlQDj/_old  2012-11-28 14:32:57.000000000 +0100
+++ /var/tmp/diff_new_pack.zTlQDj/_new  2012-11-28 14:32:57.000000000 +0100
@@ -15,29 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define modname Cython
-%define binname cython
-Name:           python3-%{modname}
-Version:        0.16
+
+Name:           python3-Cython
+Version:        0.17.2
 Release:        0
 Url:            http://www.cython.org
 Summary:        The Cython compiler for writing C extensions for the Python 
language
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/C/%{modname}/%{modname}-%{version}.tar.gz
-Source99:       python-Cython-rpmlintrc
+Source:         
http://pypi.python.org/packages/source/C/Cython/Cython-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
 BuildRequires:  python3
 BuildRequires:  python3-2to3
 BuildRequires:  python3-devel
-Requires:       python3 >= %{py3_ver}
-%if 0%{?suse_version} <= 1140
-%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-%{!?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)}
-%endif
-Provides:       python3-cython = %{version}
-Obsoletes:      python3-cython < %{version}
 
 %description
 The Cython language makes writing C extensions for the Python language as
@@ -55,23 +46,20 @@
 code.
 
 %prep
-%setup -q -n %{modname}-%{version}
-sed -i "1d" {Cython/Debugger/libpython,Cython/Debugger/Cygdb,cython}.py # Fix 
non-executable scripts
+%setup -q -n Cython-%{version}
+sed -i "s|^#!.*||" {Cython/Debugger/libpython,Cython/Debugger/Cygdb,cython}.py 
# Fix non-executable scripts
+sed -i "s|\r||" Demos/callback/{README.txt,cheesefinder.h} 
Demos/embed/Makefile.{unix,msc.static} Doc/primes.c # Fix EOL encoding
 
 %build
-CFLAGS="%{optflags} -fno-strict-aliasing" python3 setup.py build
+CFLAGS="%{optflags}" python3 setup.py build
 
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%fdupes -s %{buildroot}%{python_sitearch} %{buildroot}%{_docdir}
 rm -rf %{buildroot}%{python3_sitearch}/__pycache__/
-%fdupes -s %{buildroot}
 # avoid conflicts with python 2 version
-mv %{buildroot}%{_bindir}/cygdb %{buildroot}%{_bindir}/cygdb-python3
-mv %{buildroot}%{_bindir}/%{binname} %{buildroot}%{_bindir}/%{binname}-python3
-# fix EOL encoding
-sed -i 's/\r$//' Demos/callback/{README.txt,cheesefinder.h}
-sed -i 's/\r$//' Demos/embed/{Makefile.unix,Makefile.msc.static} 
-sed -i 's/\r$//' Doc/primes.c
+mv %{buildroot}%{_bindir}/cygdb %{buildroot}%{_bindir}/cygdb-%{py3_ver}
+mv %{buildroot}%{_bindir}/cython %{buildroot}%{_bindir}/cython-%{py3_ver}
 
 # Disabled testsuite as it takes a long time:
 #%%check
@@ -80,11 +68,11 @@
 %files
 %defattr(-,root,root,-)
 %doc COPYING.txt LICENSE.txt README.txt ToDo.txt USAGE.txt Doc Demos
-%{_bindir}/cygdb-python3
-%{_bindir}/%{binname}-python3
-%{python3_sitearch}/%{modname}/
-%{python3_sitearch}/%{modname}-%{version}-py%{py3_ver}.egg-info
+%{_bindir}/cygdb-%{py3_ver}
+%{_bindir}/cython-%{py3_ver}
+%{python3_sitearch}/Cython/
+%{python3_sitearch}/Cython-%{version}-py%{py3_ver}.egg-info
 %{python3_sitearch}/pyximport/
-%{python3_sitearch}/%{binname}.py*
+%{python3_sitearch}/cython.py*
 
 %changelog

++++++ Cython-0.16.tar.gz -> Cython-0.17.2.tar.gz ++++++
++++ 41268 lines of diff (skipped)

++++++ rpmlintrc ++++++
addFilter('devel-file-in-non-devel-package .*/Cython/.*')
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to