11
0

2 Commits

2 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 6 05:32:11 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 9 06:34:27 UTC 2024 - Dirk Müller <dmueller@suse.com> Wed Oct 9 06:34:27 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-billiard # spec file for package python-billiard
# #
# Copyright (c) 2024 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
@@ -25,9 +25,11 @@ License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/celery/billiard URL: https://github.com/celery/billiard
Source: https://files.pythonhosted.org/packages/source/b/billiard/billiard-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/b/billiard/billiard-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil >= 5.9.0} BuildRequires: %{python_module psutil >= 5.9.0}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# Documentation requirements # Documentation requirements
@@ -56,14 +58,14 @@ Documentation and help files for %{name}.
%autosetup -p1 -n billiard-%{version} %autosetup -p1 -n billiard-%{version}
%build %build
%python_build %pyproject_wheel
pushd Doc pushd Doc
sphinx-build -b html . html sphinx-build -b html . html
rm -r html/.buildinfo html/.doctrees rm -r html/.buildinfo html/.doctrees
popd popd
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
@@ -73,7 +75,8 @@ popd
%files %{python_files} %files %{python_files}
%doc CHANGES.txt README.rst %doc CHANGES.txt README.rst
%license LICENSE.txt %license LICENSE.txt
%{python_sitelib}/* %{python_sitelib}/billiard
%{python_sitelib}/billiard-%{version}.dist-info
%files -n %{name}-doc %files -n %{name}-doc
%doc Doc/html %doc Doc/html