forked from pool/python-amqpstorm
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 46ab914354 | |||
| 7e2e3aafd4 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 13 13:11:41 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 2 19:54:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Sat Dec 2 19:54:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-amqpstorm
|
# spec file for package python-amqpstorm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@@ -26,9 +26,11 @@ Source: https://files.pythonhosted.org/packages/source/A/AMQPStorm/AMQPS
|
|||||||
Patch0: mock.patch
|
Patch0: mock.patch
|
||||||
Patch1: pamqp3.patch
|
Patch1: pamqp3.patch
|
||||||
BuildRequires: %{python_module pamqp >= 3.0}
|
BuildRequires: %{python_module pamqp >= 3.0}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requests}
|
BuildRequires: %{python_module requests}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pamqp >= 3.0
|
Requires: python-pamqp >= 3.0
|
||||||
@@ -51,11 +53,11 @@ When using a SSL connection, TLSv1 or higher is required.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export LANG="en_US.UTF8"
|
export LANG="en_US.UTF8"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export LANG="en_US.UTF8"
|
export LANG="en_US.UTF8"
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/amqpstorm
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/amqpstorm
|
||||||
# remove generic named examples from sitelib
|
# remove generic named examples from sitelib
|
||||||
%python_expand rm -rf %{buildroot}%{$python_sitelib}/examples
|
%python_expand rm -rf %{buildroot}%{$python_sitelib}/examples
|
||||||
@@ -67,6 +69,7 @@ export LANG="en_US.UTF8"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/amqpstorm
|
||||||
|
%{python_sitelib}/amqpstorm-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user