14
0

- Switch to pyproject macros.

- Explicitly list files and directories in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyECLib?expand=0&rev=16
This commit is contained in:
2025-06-11 06:17:57 +00:00
committed by Git OBS Bridge
parent 6269ef284c
commit 2abff13b1c
2 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 11 05:53:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Explicitly list files and directories in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 28 16:46:48 UTC 2025 - Dirk Müller <dmueller@suse.com> Mon Apr 28 16:46:48 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,7 +16,6 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-PyECLib Name: python-PyECLib
Version: 1.6.4 Version: 1.6.4
Release: 0 Release: 0
@@ -26,8 +25,10 @@ URL: https://opendev.org/openstack/pyeclib/
Source: https://files.pythonhosted.org/packages/source/p/pyeclib/pyeclib-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pyeclib/pyeclib-%{version}.tar.gz
Source99: https://opendev.org/openstack/pyeclib/raw/branch/master/LICENSE Source99: https://opendev.org/openstack/pyeclib/raw/branch/master/LICENSE
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: liberasurecode-devel >= 1.4.0 BuildRequires: liberasurecode-devel >= 1.4.0
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@@ -48,10 +49,10 @@ reconstruction (think XOR-based LRC code).
cp %{SOURCE99} . cp %{SOURCE99} .
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
@@ -60,6 +61,8 @@ cp %{SOURCE99} .
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitearch}/pyeclib* %{python_sitearch}/pyeclib
%{python_sitearch}/pyeclib_c.abi3.so
%{python_sitearch}/[Pp]y[Ee][Cc][Ll]ib-%{version}.dist-info
%changelog %changelog