diff --git a/python-amqp.changes b/python-amqp.changes index 4b60a02..3cd8590 100644 --- a/python-amqp.changes +++ b/python-amqp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 13 05:36:04 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Tue Nov 19 12:16:05 UTC 2024 - Dirk Müller diff --git a/python-amqp.spec b/python-amqp.spec index 302284d..971af29 100644 --- a/python-amqp.spec +++ b/python-amqp.spec @@ -1,7 +1,7 @@ # # spec file for package python-amqp # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,9 +26,11 @@ URL: https://github.com/celery/py-amqp Source: https://files.pythonhosted.org/packages/source/a/amqp/amqp-%{version}.tar.gz BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module case >= 1.3.1} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest >= 3.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module vine >= 5.0.0} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-vine >= 5.0.0 @@ -47,10 +49,10 @@ This library should be API compatible with librabbitmq. rm t/integration/test_rmq.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -58,6 +60,7 @@ rm t/integration/test_rmq.py %files %{python_files} %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/amqp +%{python_sitelib}/amqp-%{version}.dist-info %changelog