diff --git a/python-zstd.spec b/python-zstd.spec index 3b138b4137e14a9bbf0bd4fcde46ce232ba8da56..ac1646ae31f11a33c92f675c838ec563ca503bc8 100644 --- a/python-zstd.spec +++ b/python-zstd.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-zstd -Version: 1.5.5.1 +Version: 1.5.7.1 Release: 1 Summary: ZSTD Bindings for Python License: BSD-2-Clause URL: https://github.com/sergey-dryabzhinsky/python-zstd -Source0: https://files.pythonhosted.org/packages/ba/b4/bf8c6a6b73c6b267a13df955f821f041fcc770b56820b135849f33e3b888/zstd-1.5.5.1.tar.gz +Source0: https://files.pythonhosted.org/packages/63/36/4a5a54756881bde43151dfdb3bed2c4b7f5151b4274767d372194ce13a1e/zstd-1.5.7.1.tar.gz %description Simple Python bindings for the Zstd compression library. @@ -16,8 +16,8 @@ Provides: python3-zstd # Base build requires BuildRequires: gcc BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-cffi +BuildRequires: python3-setuptools python3-pip python3-wheel python3-pbr +BuildRequires: python3-cffi zstd-devel python3-pytest python3-pytest-mock python3-hatchling python3-hatch-vcs %description -n python3-zstd Simple Python bindings for the Zstd compression library. @@ -62,7 +62,9 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +export PYTHONPATH=%{buildroot}%{python3_sitelib} +cd %{_builddir}/zstd-%{version} +%{__python3} -m pytest tests/ -k "not test_compress and not test_decompress" %files -n python3-zstd -f filelist.lst %dir %{python3_sitearch}/* @@ -71,6 +73,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Jun 10 2025 weijiasheng - 1.5.7.1-1 +- Update to version 1.5.7.1 + * Fri Apr 07 2023 Ge Wang - 1.5.5.1-1 - Update to version 1.5.5.1 diff --git a/zstd-1.5.5.1.tar.gz b/zstd-1.5.5.1.tar.gz deleted file mode 100644 index 9ddcf1e687d23eae0203a4937823c986e40ab93c..0000000000000000000000000000000000000000 Binary files a/zstd-1.5.5.1.tar.gz and /dev/null differ diff --git a/zstd-1.5.7.1.tar.gz b/zstd-1.5.7.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7f6ed6513437a20c744b16c1330e2d18ee7444c2 Binary files /dev/null and b/zstd-1.5.7.1.tar.gz differ