forked from pool/python-python-aiml
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:
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user