Accepting request 1043076 from devel:languages:python
- Remove python_module macro definition - More specific python_sitelib in %files - Remove not needed python-six requirement - Add update alternatives requirement OBS-URL: https://build.opensuse.org/request/show/1043076 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fedora-messaging?expand=0&rev=8
This commit is contained in:
commit
55c14e9cdd
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 15 09:16:19 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Remove python_module macro definition
|
||||
- More specific python_sitelib in %files
|
||||
- Remove not needed python-six requirement
|
||||
- Add update alternatives requirement
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 28 17:02:11 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-fedora-messaging
|
||||
Version: 3.2.0
|
||||
Release: 0
|
||||
@ -36,7 +35,6 @@ Requires: python-pika >= 1.0.1
|
||||
Requires: python-pyOpenSSL
|
||||
Requires: python-pytz
|
||||
Requires: python-service_identity
|
||||
Requires: python-six
|
||||
Requires: python-toml
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
@ -53,11 +51,12 @@ BuildRequires: %{python_module pytest-twisted}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module service_identity}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module toml}
|
||||
BuildRequires: %{python_module towncrier}
|
||||
BuildRequires: %{python_module treq}
|
||||
# /SECTION
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -96,6 +95,7 @@ sed -i 's:. Perhaps you forgot a comma?::' fedora_messaging/tests/unit/test_cli.
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/fedora-messaging
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/fedora_messaging
|
||||
%{python_sitelib}/fedora_messaging-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user