14
0

Accepting request 896757 from devel:languages:python

- Add missing Provides for obsoleted symbol.
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/896757
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-aiml?expand=0&rev=5
This commit is contained in:
2021-06-02 20:12:02 +00:00
committed by Git OBS Bridge
2 changed files with 14 additions and 3 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jun 1 18:15:22 UTC 2021 - Matej Cepl <mcepl@suse.com>
- 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 <pgajdos@suse.com> Wed May 20 07:26:47 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-python-aiml # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,7 @@ BuildRequires: unzip
Requires: python-setuptools Requires: python-setuptools
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun):update-alternatives
Provides: python-aiml = %{version}-%{release}
Obsoletes: python-aiml < 0.9.0 Obsoletes: python-aiml < 0.9.0
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -56,7 +57,7 @@ for a long time.
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_exec setup.py test %pyunittest discover -v
%post %post
%python_install_alternative aiml-bot %python_install_alternative aiml-bot