15
0
forked from pool/python-celery

- Switch to pyroject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=166
This commit is contained in:
2025-06-16 06:19:14 +00:00
committed by Git OBS Bridge
parent dbaf266b7b
commit aca489eb26
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 16 06:12:16 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyroject macros.
-------------------------------------------------------------------
Tue Jun 10 13:06:55 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -35,7 +35,9 @@ License: BSD-3-Clause
URL: http://celeryproject.org
Source: https://files.pythonhosted.org/packages/source/c/celery/celery-%{version}.tar.gz
Patch0: move-pytest-configuration-to-conftest.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: netcfg
BuildRequires: python-rpm-macros
@@ -96,12 +98,12 @@ scheduling as well.
%build
%if !%{with test}
%python_build
%pyproject_wheel
%endif
%install
%if !%{with test}
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/celery
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@@ -128,7 +130,7 @@ scheduling as well.
%files %{python_files}
%{python_sitelib}/celery
%{python_sitelib}/celery-%{version}*-info
%{python_sitelib}/celery-%{version}.dist-info
%license LICENSE
%doc README.rst TODO
%python_alternative %{_bindir}/celery