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:
commit
d29d6f4022
@ -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
|
Fri May 25 07:47:16 UTC 2012 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -63,9 +63,7 @@ CFLAGS="%{optflags} -fno-strict-aliasing" python3 setup.py build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
%if 0%{?suse_version} >= 1210
|
rm -rf %{buildroot}%{python3_sitearch}/__pycache__/
|
||||||
rm -r %{buildroot}%{python3_sitearch}/__pycache__/
|
|
||||||
%endif
|
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
# avoid conflicts with python 2 version
|
# avoid conflicts with python 2 version
|
||||||
mv %{buildroot}%{_bindir}/cygdb %{buildroot}%{_bindir}/cygdb-python3
|
mv %{buildroot}%{_bindir}/cygdb %{buildroot}%{_bindir}/cygdb-python3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user