diff --git a/python-zstd.changes b/python-zstd.changes index 665b0c8..74de342 100644 --- a/python-zstd.changes +++ b/python-zstd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 13 10:28:07 UTC 2021 - pgajdos@suse.com + +- use %pytest_arch macro + ------------------------------------------------------------------- Fri Jul 17 07:56:00 UTC 2020 - Dirk Mueller diff --git a/python-zstd.spec b/python-zstd.spec index 89e0241..6243b8f 100644 --- a/python-zstd.spec +++ b/python-zstd.spec @@ -1,7 +1,7 @@ # # spec file for package python-zstd # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,7 @@ Source: https://files.pythonhosted.org/packages/source/z/zstd/zstd-%{ver Patch0: test-external.patch Patch1: test-once.patch BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: pkgconfig @@ -57,7 +58,7 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_exec setup.py test +%pytest_arch %files %{python_files} %license LICENSE