From b5933aae7d2b95f975ad4772b21c0582bd81f9a33f01dc18d6501e016d030d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 13 Jan 2021 13:18:45 +0000 Subject: [PATCH] Accepting request 862850 from home:pgajdos:python - use %pytest_arch macro OBS-URL: https://build.opensuse.org/request/show/862850 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstd?expand=0&rev=17 --- python-zstd.changes | 5 +++++ python-zstd.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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