diff --git a/cbor2-5.4.2.tar.gz b/cbor2-5.4.2.tar.gz deleted file mode 100644 index 2792927..0000000 --- a/cbor2-5.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e283e70b55a049ff364cc5e648fde587e4d9b0e87e4b2664c69e639135e6b3b8 -size 85847 diff --git a/cbor2-5.4.6.tar.gz b/cbor2-5.4.6.tar.gz new file mode 100644 index 0000000..7ebd404 --- /dev/null +++ b/cbor2-5.4.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b893500db0fe033e570c3adc956af6eefc57e280026bd2d86fd53da9f1e594d7 +size 86909 diff --git a/python-cbor2.changes b/python-cbor2.changes index a6b9924..78fb498 100644 --- a/python-cbor2.changes +++ b/python-cbor2.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Jan 7 23:33:26 UTC 2023 - Dirk Müller + +- update to 5.4.6: + * Fix tag decoding error + * fix potential memory leak + * Bump requirement to 3.7+ + ------------------------------------------------------------------- Sat Jan 15 17:50:18 UTC 2022 - Dirk Müller diff --git a/python-cbor2.spec b/python-cbor2.spec index 600a986..74166e8 100644 --- a/python-cbor2.spec +++ b/python-cbor2.spec @@ -1,7 +1,7 @@ # # spec file for package python-cbor2 # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cbor2 -Version: 5.4.2 +Version: 5.4.6 Release: 0 Summary: Pure Python CBOR (de)serializer with extensive tag support License: MIT URL: https://github.com/agronholm/cbor2 Source: https://files.pythonhosted.org/packages/source/c/cbor2/cbor2-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools >= 40.7.0} -BuildRequires: %{python_module setuptools_scm >= 1.7.0} +BuildRequires: %{python_module setuptools >= 61} +BuildRequires: %{python_module setuptools_scm >= 6.4} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros %python_subpackages @@ -38,15 +40,15 @@ Pure Python CBOR (de)serializer with extensive tag support %prep %setup -q -n cbor2-%{version} # Remove test dependency on pytest-cov -sed -i 's/--cov//' setup.cfg +sed -i 's/--cov//' pyproject.toml %build export LANG=en_US.UTF8 -%python_build +%pyproject_wheel %install export LANG=en_US.UTF8 -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check