Accepting request 124997 from devel:languages:python

Fix building on openSUSE 11.4 (forwarded request 124994 from TheBlackCat) (forwarded request 124996 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/124997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=8
This commit is contained in:
Stephan Kulow 2012-06-15 13:40:33 +00:00 committed by Git OBS Bridge
commit d29d6f4022
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 14 12:24:59 UTC 2012 - toddrme2178@gmail.com
- Fix building on openSUSE 11.4
-------------------------------------------------------------------
Fri May 25 07:47:16 UTC 2012 - toddrme2178@gmail.com

View File

@ -63,9 +63,7 @@ CFLAGS="%{optflags} -fno-strict-aliasing" python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%if 0%{?suse_version} >= 1210
rm -r %{buildroot}%{python3_sitearch}/__pycache__/
%endif
rm -rf %{buildroot}%{python3_sitearch}/__pycache__/
%fdupes -s %{buildroot}
# avoid conflicts with python 2 version
mv %{buildroot}%{_bindir}/cygdb %{buildroot}%{_bindir}/cygdb-python3