diff --git a/python-zstd.changes b/python-zstd.changes index a6da149..7ecb536 100644 --- a/python-zstd.changes +++ b/python-zstd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 28 13:32:16 UTC 2023 - Matej Cepl + +- Update to version 1.5.4.0: + - Update libzstd to 1.5.4 + ------------------------------------------------------------------- Wed Oct 12 18:36:28 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-zstd.spec b/python-zstd.spec index 7624ac5..8e3be4f 100644 --- a/python-zstd.spec +++ b/python-zstd.spec @@ -1,7 +1,7 @@ # # spec file for package python-zstd # -# 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 @@ -16,9 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-zstd -Version: 1.5.2.6 +Version: 1.5.4.0 Release: 0 Summary: ZSTD Bindings for Python License: BSD-2-Clause @@ -39,8 +38,8 @@ BuildRequires: pkgconfig(libzstd) >= 1.4.4 ZSTD Bindings for Python. %prep -%setup -q -n zstd-%{version} -%patch0 -p1 +%autosetup -p1 -n zstd-%{version} + rm -rf zstd/ # do not test the version matching, we don't really need exact version of # zstd here @@ -61,6 +60,7 @@ export CFLAGS="%{optflags}" %files %{python_files} %license LICENSE %doc README.rst -%{python_sitearch}/* +%{python_sitearch}/zstd*.so +%{python_sitearch}/zstd-%{version}*-info %changelog diff --git a/test-external.patch b/test-external.patch index 3a202d1..c4777dd 100644 --- a/test-external.patch +++ b/test-external.patch @@ -1,6 +1,10 @@ ---- zstd-1.3.8.1/setup.py.orig 2019-03-04 17:40:51.208528890 +0700 -+++ zstd-1.3.8.1/setup.py 2019-03-04 17:58:37.644953996 +0700 -@@ -97,6 +97,8 @@ +--- + setup.py | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/setup.py ++++ b/setup.py +@@ -119,6 +119,8 @@ else: class ZstdBuildExt( build_ext ): def build_extensions(self): diff --git a/zstd-1.5.2.6.tar.gz b/zstd-1.5.2.6.tar.gz deleted file mode 100644 index 8db73fc..0000000 --- a/zstd-1.5.2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f440858d198890e5ff517dff32d15e8c31bb73506a896f9baf6d014efe62f7fc -size 606528 diff --git a/zstd-1.5.4.0.tar.gz b/zstd-1.5.4.0.tar.gz new file mode 100644 index 0000000..f079c0c --- /dev/null +++ b/zstd-1.5.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0d11df70a978529341b576e69a4f0b2a23e746686e24f9b90260a33ce49042d +size 620235