Hello community,
here is the log from the commit of package python-stomp.py for
openSUSE:Leap:15.2 checked in at 2020-05-23 16:08:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-stomp.py (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-stomp.py.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-stomp.py"
Sat May 23 16:08:28 2020 rev:13 rq:808368 version:6.0.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-stomp.py/python-stomp.py.changes
2020-03-02 17:21:53.770126833 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-stomp.py.new.2738/python-stomp.py.changes
2020-05-23 16:08:29.969191923 +0200
@@ -1,0 +2,5 @@
+Tue May 19 08:03:05 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-stomp.py.spec ++++++
--- /var/tmp/diff_new_pack.Rq3Npm/_old 2020-05-23 16:08:30.289192608 +0200
+++ /var/tmp/diff_new_pack.Rq3Npm/_new 2020-05-23 16:08:30.293192617 +0200
@@ -30,6 +30,8 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-docopt >= 0.6.2
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -45,12 +47,19 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/stomp
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%post
+%python_install_alternative stomp
+
+%postun
+%python_uninstall_alternative stomp
+
%files %{python_files}
%doc README CHANGELOG
%license LICENSE
%{python_sitelib}/*
-%python3_only %{_bindir}/stomp
+%python_alternative %{_bindir}/stomp
%changelog