forked from pool/python-cbor2
Accepting request 1056835 from devel:languages:python
- update to 5.4.6: * Fix tag decoding error * fix potential memory leak * Bump requirement to 3.7+ OBS-URL: https://build.opensuse.org/request/show/1056835 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cbor2?expand=0&rev=9
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e283e70b55a049ff364cc5e648fde587e4d9b0e87e4b2664c69e639135e6b3b8
|
||||
size 85847
|
||||
3
cbor2-5.4.6.tar.gz
Normal file
3
cbor2-5.4.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b893500db0fe033e570c3adc956af6eefc57e280026bd2d86fd53da9f1e594d7
|
||||
size 86909
|
||||
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 7 23:33:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user