15
0
forked from pool/python-ZODB

Accepting request 1277021 from home:mcalabkova:branches:devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1277021
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZODB?expand=0&rev=32
This commit is contained in:
2025-05-13 09:18:32 +00:00
committed by Git OBS Bridge
parent 5ccf143fba
commit 3c7dfdead3
2 changed files with 13 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 13 06:37:07 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Thu May 30 12:34:58 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ZODB
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -28,8 +28,10 @@ BuildRequires: %{python_module BTrees >= 4.2.0}
BuildRequires: %{python_module ZConfig}
BuildRequires: %{python_module manuel}
BuildRequires: %{python_module persistent-devel >= 4.4.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module transaction >= 2.4.0}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module zc.lockfile}
BuildRequires: %{python_module zodbpickle >= 1.0.1}
BuildRequires: %{python_module zope.interface}
@@ -44,8 +46,8 @@ Requires: python-transaction >= 2.4.0
Requires: python-zc.lockfile
Requires: python-zodbpickle >= 1.0.1
Requires: python-zope.interface
Requires(post): update-alternatives
Requires(preun): update-alternatives
Requires(post): alts
Requires(preun): alts
BuildArch: noarch
%python_subpackages
@@ -74,10 +76,10 @@ rm -rf src/ZODB.egg-info
rm -f src/ZODB/tests/testdocumentation.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/fsdump
@@ -103,7 +105,7 @@ cp -r docs/* %{buildroot}%{_defaultdocdir}/python-ZODB-doc/docs/
%license LICENSE.txt COPYRIGHT.txt
%doc 3.11.txt CHANGES.rst HISTORY.rst README.rst
%{python_sitelib}/ZODB/
%{python_sitelib}/ZODB-%{version}-py*.egg-info
%{python_sitelib}/[Zz][Oo][Dd][Bb]-%{version}*-info
%python_alternative %{_bindir}/fsdump
%python_alternative %{_bindir}/fsoids
%python_alternative %{_bindir}/fsrefs