15
0
forked from pool/python-ZODB

Accepting request 1178084 from devel:languages:python

- Update to 6.0
  * Add support for Python 3.12.
  * Drop support for Python 2.7, 3.5, 3.6.
  * Fix sorting issue in scripts/space.py.
  * FileStorage: fix a rare data corruption when using restore after multiple undos.
  * Fix exit code of repozo script in case of verification error.
- Fix deduplication of documentation.

OBS-URL: https://build.opensuse.org/request/show/1178084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZODB?expand=0&rev=14
This commit is contained in:
2024-06-03 15:41:50 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6c73abd3660d606ffc1f21f97def14b52b46f4a702ec9e6ee449a6e2be264df
size 790095

3
ZODB-6.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e51c792115c5daad4e806757bafa2f754c000c23e6babc3be5e40775fe49b5dc
size 786862

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu May 30 12:34:58 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 6.0
* Add support for Python 3.12.
* Drop support for Python 2.7, 3.5, 3.6.
* Fix sorting issue in scripts/space.py.
* FileStorage: fix a rare data corruption when using restore after multiple undos.
* Fix exit code of repozo script in case of verification error.
- Fix deduplication of documentation.
-------------------------------------------------------------------
Sun Jan 7 16:42:08 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -17,9 +17,8 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-ZODB
Version: 5.8.1
Version: 6.0
Release: 0
Summary: Zope Object Database: object database and persistence
License: ZPL-2.1
@@ -30,7 +29,6 @@ BuildRequires: %{python_module ZConfig}
BuildRequires: %{python_module manuel}
BuildRequires: %{python_module persistent-devel >= 4.4.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module transaction >= 2.4.0}
BuildRequires: %{python_module zc.lockfile}
BuildRequires: %{python_module zodbpickle >= 1.0.1}
@@ -42,13 +40,12 @@ BuildRequires: python-rpm-macros
Requires: python-BTrees >= 4.2.0
Requires: python-ZConfig
Requires: python-persistent >= 4.4.0
Requires: python-six
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(preun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -89,6 +86,10 @@ rm -f src/ZODB/tests/testdocumentation.py
%python_clone -a %{buildroot}%{_bindir}/fstail
%python_clone -a %{buildroot}%{_bindir}/repozo
mkdir -p %{buildroot}%{_defaultdocdir}/python-ZODB-doc/docs
cp -r docs/* %{buildroot}%{_defaultdocdir}/python-ZODB-doc/docs/
%fdupes %{buildroot}%{_defaultdocdir}/python-ZODB-doc
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} zope-testrunner-%{$python_bin_suffix} --test-path=src
@@ -110,6 +111,6 @@ rm -f src/ZODB/tests/testdocumentation.py
%python_alternative %{_bindir}/repozo
%files -n %{name}-doc
%doc docs/
%doc %{_defaultdocdir}/python-ZODB-doc
%changelog