forked from pool/python-autopep8
Accepting request 261623 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/261623 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-autopep8?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 08 17:23:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashism in pre script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 10 12:42:02 UTC 2014 - toddrme2178@gmail.com
|
||||
|
||||
|
||||
@@ -62,8 +62,7 @@ python setup.py test
|
||||
%pre
|
||||
# Since /usr/bin/autopep8 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}/autopep8 ]] && rm -f %{_bindir}/autopep8
|
||||
exit 0
|
||||
[ -h %{_bindir}/autopep8 ] || rm -f %{_bindir}/autopep8
|
||||
|
||||
%post
|
||||
update-alternatives --install %{_bindir}/autopep8 autopep8 %{_bindir}/autopep8-%{py_ver} 20
|
||||
|
||||
Reference in New Issue
Block a user