diff --git a/python-tri.struct.changes b/python-tri.struct.changes index f4078f9..d76da87 100644 --- a/python-tri.struct.changes +++ b/python-tri.struct.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Jan 22 15:38:04 UTC 2021 - Benjamin Greiner + +- Update to v4.0.0 + * Split c implementation to separate FastStruct. The native + python implementation is now always the Struct +- Skip Python2 (syntax errors) + ------------------------------------------------------------------- Wed Sep 4 02:40:56 UTC 2019 - John Vandenberg diff --git a/python-tri.struct.spec b/python-tri.struct.spec index 7eb537e..eae8570 100644 --- a/python-tri.struct.spec +++ b/python-tri.struct.spec @@ -1,7 +1,7 @@ # # spec file for package python-tri.struct # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,23 +12,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-tri.struct -Version: 3.1.0 +Version: 4.0.0 Release: 0 -License: BSD-3-Clause Summary: Python dictionaries with attribute access -Url: https://github.com/TriOptima/tri.struct +License: BSD-3-Clause Group: Development/Languages/Python +URL: https://github.com/TriOptima/tri.struct Source: https://github.com/TriOptima/tri.struct/archive/%{version}.tar.gz#/tri.struct-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros %python_subpackages @@ -53,6 +55,7 @@ export CFLAGS="%{optflags}" %files %{python_files} %doc AUTHORS.rst README.rst %license LICENSE -%{python_sitearch}/* +%{python_sitearch}/tri_struct +%{python_sitearch}/tri.struct-%{version}*-info %changelog diff --git a/tri.struct-3.1.0.tar.gz b/tri.struct-3.1.0.tar.gz deleted file mode 100644 index 97fe001..0000000 --- a/tri.struct-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6044b555753fa3e22afdc6191a270f6d90dcfbc10b3d2a6099af775715c6c50a -size 26782 diff --git a/tri.struct-4.0.0.tar.gz b/tri.struct-4.0.0.tar.gz new file mode 100644 index 0000000..82924bb --- /dev/null +++ b/tri.struct-4.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3618abe6256037d8899048fab6fc0f6334b0f12253c6c439866e1af012589a23 +size 26954