Hello community,
here is the log from the commit of package python-python-aiml for
openSUSE:Leap:15.2 checked in at 2020-05-28 20:09:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-python-aiml (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-python-aiml.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-aiml"
Thu May 28 20:09:46 2020 rev:14 rq:809207 version:0.9.3
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-python-aiml/python-python-aiml.changes
2020-03-15 13:35:52.558820724 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-python-aiml.new.3606/python-python-aiml.changes
2020-05-28 20:09:47.102932721 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:47 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-aiml.spec ++++++
--- /var/tmp/diff_new_pack.PZCZOp/_old 2020-05-28 20:09:47.802934805 +0200
+++ /var/tmp/diff_new_pack.PZCZOp/_new 2020-05-28 20:09:47.806934817 +0200
@@ -29,6 +29,8 @@
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
Obsoletes: python-aiml < 0.9.0
BuildArch: noarch
%python_subpackages
@@ -49,16 +51,26 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/aiml-bot
+%python_clone -a %{buildroot}%{_bindir}/aiml-validate
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
+%post
+%python_install_alternative aiml-bot
+%python_install_alternative aiml-validate
+
+%postun
+%python_uninstall_alternative aiml-bot
+%python_uninstall_alternative aiml-validate
+
%files %{python_files}
%doc CHANGES.txt README.rst
%license COPYING.txt
-%python3_only %{_bindir}/aiml-validate
-%python3_only %{_bindir}/aiml-bot
+%python_alternative %{_bindir}/aiml-validate
+%python_alternative %{_bindir}/aiml-bot
%{python_sitelib}/*
%changelog