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