Accepting request 260882 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/260882 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=24
This commit is contained in:
commit
aba9006a3b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 09 22:57:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashisms in pre script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 12 10:52:18 UTC 2014 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -80,10 +80,9 @@ ln -s %{_bindir}/cygdb-%{py_ver} %{buildroot}%{_bindir}/cygdb
|
||||
%pre
|
||||
# Since /usr/bin/cython and /usr/bin/cygdb became ghosted to be used with update-alternatives, we have to get rid
|
||||
# of the old binary resulting from the non-update-alternativies-ified package:
|
||||
[[ ! -L %{_bindir}/cygdb ]] && rm -f %{_bindir}/cygdb
|
||||
[[ ! -L %{_bindir}/cythonize ]] && rm -f %{_bindir}/cythonize
|
||||
[[ ! -L %{_bindir}/cython ]] && rm -f %{_bindir}/cython
|
||||
exit 0
|
||||
[ -h %{_bindir}/cygdb ] || rm -f %{_bindir}/cygdb
|
||||
[ -h %{_bindir}/cythonize ] || rm -f %{_bindir}/cythonize
|
||||
[ -h %{_bindir}/cython ] || rm -f %{_bindir}/cython
|
||||
|
||||
%post
|
||||
update-alternatives \
|
||||
|
Loading…
Reference in New Issue
Block a user