diff --git a/python-zstandard.spec b/python-zstandard.spec index d4125ad..deedc5d 100644 --- a/python-zstandard.spec +++ b/python-zstandard.spec @@ -14,12 +14,13 @@ compression library. A C extension and CFFI interface are provided. Name: python-%{pypi_name} Version: 0.15.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Zstandard bindings for Python License: BSD and GPLv2 URL: https://github.com/indygreg/python-zstandard Source0: %{pypi_source} Patch0: %{name}-fix-estimated_compression_context_size-tolerance-i686.patch +Patch1: %{name}-issue-105.patch %description %{desc} @@ -44,6 +45,7 @@ Provides: bundled(zstd) = 1.4.8 %prep %setup -q -n %{pypi_name}-%{version} %patch0 -p1 +%patch1 -p1 rm -r %{pypi_name}.egg-info %build @@ -57,22 +59,6 @@ rm -r %{pypi_name}.egg-info mv zstandard{,.src} export ZSTD_SLOW_TESTS=1 %pytest -v\ -%ifarch s390x - -k "not test_constant_methods\ - and not test_no_context_manager\ - and not test_read_closed\ - and not test_close\ - and not test_read_after_exit\ - and not test_read_buffer\ - and not test_read_stream\ - and not test_read_binary_filename\ - and not test_read_binary_fileobj\ - and not test_read_text_filename\ - and not test_read_text_fileobj\ - and not test_write_binary_filename\ - and not test_write_binary_fileobj\ - and not test_write_text_filename"\ -%endif --numprocesses=auto mv zstandard{.src,} %endif @@ -84,6 +70,9 @@ mv zstandard{.src,} %{python3_sitearch}/%{pypi_name} %changelog +* Mon Mar 01 2021 Dominik Mierzejewski 0.15.1-2 +- fix tests on s390x + * Wed Feb 03 2021 Dominik Mierzejewski 0.15.1-1 - update to 0.15.1 (#1924620) - work around weird test failure