From 299a02dbebf78f1586e164d43511c157486475dd6d1bc6958f37ce313237438d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 13 Aug 2019 16:34:11 +0000 Subject: [PATCH] - Skip the version comparison tests, they are pretty useless OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstd?expand=0&rev=9 --- python-zstd.changes | 5 +++++ python-zstd.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-zstd.changes b/python-zstd.changes index 5da800b..9c6341a 100644 --- a/python-zstd.changes +++ b/python-zstd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 13 16:33:53 UTC 2019 - Tomáš Chvátal + +- Skip the version comparison tests, they are pretty useless + ------------------------------------------------------------------- Mon Jul 22 10:54:03 UTC 2019 - Tomáš Chvátal diff --git a/python-zstd.spec b/python-zstd.spec index af1b465..75cd842 100644 --- a/python-zstd.spec +++ b/python-zstd.spec @@ -43,6 +43,10 @@ ZSTD Bindings for Python. %patch0 -p1 %patch1 -p1 rm -rf zstd/ +# do not test the version matching, we don't really need exact version of +# zstd here +rm tests/test_version.py +sed -i -e '/test_version/d' tests/__init__.py %build export CFLAGS="%{optflags}"