- 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/package/show/devel:languages:python/python-fedora-messaging?expand=0&rev=15
This commit is contained in:
parent
b28b756241
commit
86d924c7dc
@ -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>
|
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
|
Name: python-fedora-messaging
|
||||||
Version: 3.2.0
|
Version: 3.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -36,7 +35,6 @@ Requires: python-pika >= 1.0.1
|
|||||||
Requires: python-pyOpenSSL
|
Requires: python-pyOpenSSL
|
||||||
Requires: python-pytz
|
Requires: python-pytz
|
||||||
Requires: python-service_identity
|
Requires: python-service_identity
|
||||||
Requires: python-six
|
|
||||||
Requires: python-toml
|
Requires: python-toml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
@ -53,11 +51,12 @@ BuildRequires: %{python_module pytest-twisted}
|
|||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module pytz}
|
BuildRequires: %{python_module pytz}
|
||||||
BuildRequires: %{python_module service_identity}
|
BuildRequires: %{python_module service_identity}
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
BuildRequires: %{python_module toml}
|
BuildRequires: %{python_module toml}
|
||||||
BuildRequires: %{python_module towncrier}
|
BuildRequires: %{python_module towncrier}
|
||||||
BuildRequires: %{python_module treq}
|
BuildRequires: %{python_module treq}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun):update-alternatives
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -96,6 +95,7 @@ sed -i 's:. Perhaps you forgot a comma?::' fedora_messaging/tests/unit/test_cli.
|
|||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%python_alternative %{_bindir}/fedora-messaging
|
%python_alternative %{_bindir}/fedora-messaging
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/fedora_messaging
|
||||||
|
%{python_sitelib}/fedora_messaging-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user