Hello community, here is the log from the commit of package python-subliminal for openSUSE:Leap:15.2 checked in at 2020-05-23 16:08:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-subliminal (Old) and /work/SRC/openSUSE:Leap:15.2/.python-subliminal.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-subliminal" Sat May 23 16:08:47 2020 rev:13 rq:808393 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-subliminal/python-subliminal.changes 2020-05-13 13:46:59.253262767 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.python-subliminal.new.2738/python-subliminal.changes 2020-05-23 16:08:48.365231365 +0200 @@ -1,0 +2,5 @@ +Tue May 19 08:03:07 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-subliminal.spec ++++++ --- /var/tmp/diff_new_pack.BBV1i9/_old 2020-05-23 16:08:48.721232129 +0200 +++ /var/tmp/diff_new_pack.BBV1i9/_new 2020-05-23 16:08:48.725232137 +0200 @@ -42,10 +42,12 @@ Requires: python-requests >= 2.7.0 Requires: python-six >= 1.9.0 Requires: python-stevedore >= 1.20.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives Recommends: python-colorlog >= 2.6.0 -BuildArch: noarch Provides: subliminal = %{version} Obsoletes: subliminal < %{version} +BuildArch: noarch %python_subpackages %description @@ -60,12 +62,19 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/subliminal %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative subliminal + +%postun +%python_uninstall_alternative subliminal + %files %{python_files} %license LICENSE %doc HISTORY.rst README.rst -%python3_only %{_bindir}/subliminal +%python_alternative %{_bindir}/subliminal %{python_sitelib}/subliminal %{python_sitelib}/subliminal-%{version}-py%{python_version}.egg-info
