forked from pool/python-zstd
Accepting request 862892 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/862892 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstd?expand=0&rev=8
This commit is contained in:
@@ -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 <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user