Hello community, here is the log from the commit of package python-guessit for openSUSE:Factory checked in at 2020-05-28 09:16:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-guessit (Old) and /work/SRC/openSUSE:Factory/.python-guessit.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-guessit" Thu May 28 09:16:27 2020 rev:10 rq:809357 version:3.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-guessit/python-guessit.changes 2020-05-03 22:47:53.667235247 +0200 +++ /work/SRC/openSUSE:Factory/.python-guessit.new.3606/python-guessit.changes 2020-05-28 09:16:39.808870872 +0200 @@ -1,0 +2,5 @@ +Tue May 26 06:34:32 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-guessit.spec ++++++ --- /var/tmp/diff_new_pack.AtM1FZ/_old 2020-05-28 09:16:41.336874478 +0200 +++ /var/tmp/diff_new_pack.AtM1FZ/_new 2020-05-28 09:16:41.340874487 +0200 @@ -24,7 +24,7 @@ License: LGPL-3.0-only Group: Development/Languages/Python URL: https://github.com/wackou/guessit -Source0: https://pypi.io/packages/source/g/guessit/guessit-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/g/guessit/guessit-%{version}.tar.gz BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module babelfish >= 0.5.5} BuildRequires: %{python_module pytest-benchmark} @@ -37,6 +37,8 @@ Requires: python-babelfish >= 0.5.5 Requires: python-python-dateutil Requires: python-rebulk >= 2.0.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -65,6 +67,7 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/guessit %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -72,10 +75,16 @@ export PYTHONDONTWRITEBYTECODE=1 %pytest +%post +%python_install_alternative guessit + +%postun +%python_uninstall_alternative guessit + %files %{python_files} %doc README.rst %license LICENSE -%python3_only %{_bindir}/guessit +%python_alternative %{_bindir}/guessit %{python_sitelib}/guessit %{python_sitelib}/guessit-%{version}-py%{python_version}.egg-info
