diff --git a/Durus-3.9.tar.gz b/Durus-3.9.tar.gz deleted file mode 100644 index 3b83cdd..0000000 --- a/Durus-3.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:164f60fba8f4c68e018df48d82c22d0dcc349c51584a4ed337f18a44e8ace59d -size 69271 diff --git a/Durus-4.2.tar.gz b/Durus-4.2.tar.gz new file mode 100644 index 0000000..139eb41 --- /dev/null +++ b/Durus-4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c440f0a3ed3b9427506e19c957a0c6bc6cb69cc6cf7e8b2c48f73f50779fdbf +size 82456 diff --git a/python-Durus.changes b/python-Durus.changes index 5ffec9d..01636ba 100644 --- a/python-Durus.changes +++ b/python-Durus.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Thu Oct 28 03:37:51 UTC 2021 - Steve Kowalik + +- Update to 4.2: + * Use setuptools. + * Set zip_safe to False. + * Remove reference to DurusWorks. + * Use python3 for scripts. + * Small optimization for setting _p_* attributes. + * Pickler.clear_memo() can get slow. Work-around that issue. + * When finishing FileStorage commit, log file size. + * Order pack todo queue by file offset. + * Add support for an inherited server socket. + * Improve db_to_py3k.py script. + * Move scripts to 'bin' directory. + * Define separate methods for PersistentSet. + * Add --storage-class option to 'durus' command line tool. + * Fix suble bug in FileStorage2 packer. + * Add create_from_records() method. + * Restore DFS20 file storage format. +- Remove nose from BuildRequires. + ------------------------------------------------------------------- Thu Sep 10 15:31:40 UTC 2020 - pgajdos@suse.com diff --git a/python-Durus.spec b/python-Durus.spec index 87d48ae..df071bd 100644 --- a/python-Durus.spec +++ b/python-Durus.spec @@ -1,7 +1,7 @@ # # spec file for package python-Durus # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,17 +19,17 @@ %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Durus -Version: 3.9 +Version: 4.2 Release: 0 Summary: A Python Object Database License: CNRI-Python URL: https://www.mems-exchange.org/software/durus/ Source: https://files.pythonhosted.org/packages/source/D/Durus/Durus-%{version}.tar.gz BuildRequires: %{python_module devel} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives %ifpython2 Provides: %{oldpython}-durus = %{version} Obsoletes: %{oldpython}-durus < %{version} @@ -42,7 +42,9 @@ multiple client processes. %prep %setup -q -n Durus-%{version} -sed -i "1d" {db_renumber,__main__}.py # Fix non-executable scripts +# Fix non-executable scripts +sed -i "1d" bin/db_renumber.py +sed -i "1d" durus/__main__.py %build export CFLAGS="%{optflags}" @@ -64,7 +66,7 @@ export CFLAGS="%{optflags}" %files %{python_files} %license LICENSE.txt -%doc ACKS.txt CHANGES.txt README.txt doc/FAQ.txt +%doc ACKS.txt CHANGES.txt README.md doc/FAQ.txt %python_alternative %{_bindir}/durus %{python_sitearch}/*