diff --git a/python-python-aiml.changes b/python-python-aiml.changes index 3bb36d6..e3505a7 100644 --- a/python-python-aiml.changes +++ b/python-python-aiml.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Jun 1 18:15:22 UTC 2021 - Matej Cepl + +- Add missing Provides for obsoleted symbol. + +------------------------------------------------------------------- +Tue Jun 1 11:28:14 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Wed May 20 07:26:47 UTC 2020 - Petr Gajdos diff --git a/python-python-aiml.spec b/python-python-aiml.spec index babad2d..96a1c3f 100644 --- a/python-python-aiml.spec +++ b/python-python-aiml.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-aiml # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,8 @@ BuildRequires: python-rpm-macros BuildRequires: unzip Requires: python-setuptools Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives +Provides: python-aiml = %{version}-%{release} Obsoletes: python-aiml < 0.9.0 BuildArch: noarch %python_subpackages @@ -56,7 +57,7 @@ for a long time. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest discover -v %post %python_install_alternative aiml-bot