From 08b2cc5f643eba1c5eec08c530b7d0ba545b8059 Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Wed, 3 Feb 2021 12:31:12 +0100 Subject: [PATCH] update to 0.15.1 (#1924620) work around weird test failure --- .gitignore | 1 + python-zstandard.spec | 20 ++++++++++++-------- sources | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index c098cb7..2c2097a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /zstandard-0.13.0.tar.gz +/zstandard-0.15.1.tar.gz diff --git a/python-zstandard.spec b/python-zstandard.spec index f59efd5..bb3a523 100644 --- a/python-zstandard.spec +++ b/python-zstandard.spec @@ -13,10 +13,10 @@ compression library. A C extension and CFFI interface are provided. Name: python-%{pypi_name} -Version: 0.13.0 -Release: 2%{?dist} +Version: 0.15.1 +Release: 1%{?dist} Summary: Zstandard bindings for Python -License: BSD +License: BSD and GPLv2 URL: https://github.com/indygreg/python-zstandard Source0: %{pypi_source} @@ -35,7 +35,7 @@ BuildRequires: python3-pytest BuildRequires: python3-pytest-xdist %endif # https://github.com/indygreg/python-zstandard/issues/48 -Provides: bundled(zstd) = 1.4.4 +Provides: bundled(zstd) = 1.4.8 %description -n python3-%{pypi_name} %{desc} @@ -52,6 +52,7 @@ rm -r %{pypi_name}.egg-info %if %{with check} %check +mv zstandard{,.src} export ZSTD_SLOW_TESTS=1 %pytest -v\ %ifarch s390x @@ -64,17 +65,20 @@ export ZSTD_SLOW_TESTS=1 and not test_read_stream'\ %endif --numprocesses=auto +mv zstandard{.src,} %endif %files -n python3-%{pypi_name} -%license LICENSE -%doc NEWS.rst README.rst +%license LICENSE zstd/COPYING +%doc README.rst %{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %{python3_sitearch}/%{pypi_name} -%{python3_sitearch}/_zstd_cffi.cpython-%{python3_version_nodots}-%{_arch}-linux%{_gnu}.so -%{python3_sitearch}/zstd.cpython-%{python3_version_nodots}-%{_arch}-linux%{_gnu}.so %changelog +* Wed Feb 03 2021 Dominik Mierzejewski 0.15.1-1 +- update to 0.15.1 (#1924620) +- work around weird test failure + * Wed Jul 29 2020 Fedora Release Engineering - 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index c358566..ea1b25a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zstandard-0.13.0.tar.gz) = 3a6151de640515f21626d150e1295c1f2e524d377b3b1ccabf2719fae6da89f95480a50ec80eac4d07d317c7abe50ed7a26162b3291169e139c4ddd71b6ada98 +SHA512 (zstandard-0.15.1.tar.gz) = 7aabe647fa8c9a696084da6544c27287fe7d57e3a0ce2594c061fd20136e147ded4ea3da3648f6ef93c49636edc1d04ca4f29561514fb13f1a5d0340cd51996b