From 4c05154b4ba855df74907c24e905c5af881708c7f61bbeb2906fb6ddef92e04e Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 7 Jun 2018 17:09:53 +0000 Subject: [PATCH] Accepting request 615009 from home:TheBlackCat:branches:devel:languages:python - Don't use update-alternatives Also fixes conflicts with python-coveralls OBS-URL: https://build.opensuse.org/request/show/615009 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-coveralls?expand=0&rev=2 --- python-python-coveralls.changes | 6 ++++++ python-python-coveralls.spec | 11 +---------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/python-python-coveralls.changes b/python-python-coveralls.changes index cb03fc7..8148c36 100644 --- a/python-python-coveralls.changes +++ b/python-python-coveralls.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 7 17:08:37 UTC 2018 - toddrme2178@gmail.com + +- Don't use update-alternatives + Also fixes conflicts with python-coveralls + ------------------------------------------------------------------- Thu May 24 17:40:21 UTC 2018 - toddrme2178@gmail.com diff --git a/python-python-coveralls.spec b/python-python-coveralls.spec index de9f785..f8ce330 100644 --- a/python-python-coveralls.spec +++ b/python-python-coveralls.spec @@ -46,8 +46,6 @@ Requires: python-requests Requires: python-six Conflicts: python-coveralls BuildArch: noarch -Requires(post): update-alternatives -Requires(postun): update-alternatives %python_subpackages @@ -66,23 +64,16 @@ tar -xvzf %{S:1} %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%python_clone -a %{buildroot}%{_bindir}/coveralls %check pushd python-coveralls-example %python_expand py.test example/tests.py --cov=example popd -%post -%python_install_alternative coveralls - -%postun -%python_uninstall_alternative coveralls - %files %{python_files} %doc README.rst %license LICENSE -%python_alternative %{_bindir}/coveralls +%python3_only %{_bindir}/coveralls %{python_sitelib}/* %changelog