Hello community, here is the log from the commit of package python-unify for openSUSE:Leap:15.2 checked in at 2020-05-24 18:08:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-unify (Old) and /work/SRC/openSUSE:Leap:15.2/.python-unify.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-unify" Sun May 24 18:08:48 2020 rev:4 rq:808445 version:0.5 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-unify/python-unify.changes 2020-03-02 13:24:29.150532986 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-unify.new.2738/python-unify.changes 2020-05-24 18:08:49.166126003 +0200 @@ -1,0 +2,5 @@ +Mon May 18 09:10:41 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-unify.spec ++++++ --- /var/tmp/diff_new_pack.MFfU9H/_old 2020-05-24 18:08:49.458126635 +0200 +++ /var/tmp/diff_new_pack.MFfU9H/_new 2020-05-24 18:08:49.462126644 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-unify # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,6 +31,8 @@ BuildRequires: python-rpm-macros Requires: python-setuptools Requires: python-untokenize +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest} @@ -59,11 +61,18 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} mv %{buildroot}%{_bindir}/unify %{buildroot}%{_bindir}/unify_quotes +%python_clone -a %{buildroot}%{_bindir}/unify_quotes + +%post +%python_install_alternative unify_quotes + +%postun +%python_uninstall_alternative unify_quotes %files %{python_files} %license LICENSE %doc README.rst README.suse -%python3_only %{_bindir}/unify_quotes +%python_alternative %{_bindir}/unify_quotes %{python_sitelib}/* %changelog
