diff --git a/python-zstandard.spec b/python-zstandard.spec index 759146212d7f18808c8b4c2d0dc6b46321bf7682..b40bc0756bf23e178934c4c49cf30daf0bb1c8ce 100644 --- a/python-zstandard.spec +++ b/python-zstandard.spec @@ -1,9 +1,9 @@ %global _empty_manifest_terminate_build 0 Name: python-zstandard -Version: 0.22.0 +Version: 0.23.0 Release: 1 Summary: Zstandard bindings for Python -License: BSD-3-Clause +License: (BSD-3-Clause OR GPL-2.0-only) AND MIT URL: https://github.com/indygreg/python-zstandard Source0: https://files.pythonhosted.org/packages/source/z/zstandard/zstandard-%{version}.tar.gz @@ -19,6 +19,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-cffi BuildRequires: gcc BuildRequires: gdb +BuildRequires: python3-pytest Requires: python3-cffi %description -n python3-zstandard This project provides Python bindings for interfacing with the Zstandard @@ -66,7 +67,10 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +mv zstandard{,.src} +export ZSTD_SLOW_TESTS=1 +%pytest +mv zstandard{.src,} %files -n python3-zstandard -f filelist.lst %dir %{python3_sitearch}/* @@ -75,6 +79,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wed Jul 16 2025 yaoxin <1024769339@qq.com> - 0.23.0-1 +- Update to 0.23.0 for fix build failure + * Sun Feb 04 2024 xu_ping <707078654@qq.com> - 0.22.0-1 - Update package to version 0.22.0 diff --git a/zstandard-0.22.0.tar.gz b/zstandard-0.22.0.tar.gz deleted file mode 100644 index 9396aa62dd5d1aeb0f879f95c25771fd024d691c..0000000000000000000000000000000000000000 Binary files a/zstandard-0.22.0.tar.gz and /dev/null differ diff --git a/zstandard-0.23.0.tar.gz b/zstandard-0.23.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f1c0407fd3f8df481247b2f6e8a66dcd44b6c408 Binary files /dev/null and b/zstandard-0.23.0.tar.gz differ