From 1a4ca05cdb702b0459ac87bef39bde808faa324d26bf9c40b147fe159da26f0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 11 Aug 2018 06:32:42 +0000 Subject: [PATCH] - Remove the test condition, run them always OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysndfile?expand=0&rev=4 --- python-pysndfile.changes | 5 +++++ python-pysndfile.spec | 7 +------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/python-pysndfile.changes b/python-pysndfile.changes index 2b4db21..0c21866 100644 --- a/python-pysndfile.changes +++ b/python-pysndfile.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Aug 11 06:32:26 UTC 2018 - tchvatal@suse.com + +- Remove the test condition, run them always + ------------------------------------------------------------------- Fri Aug 10 22:26:07 UTC 2018 - jsikes@suse.de diff --git a/python-pysndfile.spec b/python-pysndfile.spec index 09f7aed..ba5c3b7 100644 --- a/python-pysndfile.spec +++ b/python-pysndfile.spec @@ -17,7 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-pysndfile Version: 1.3.2 Release: 0 @@ -30,15 +29,13 @@ Source10: https://forge-2.ircam.fr/roebel/pysndfile/raw/master/COPYING.txt Source11: https://forge-2.ircam.fr/roebel/pysndfile/raw/master/COPYING.LESSER.txt BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: c++_compiler BuildRequires: fdupes BuildRequires: libsndfile-devel BuildRequires: python-rpm-macros Requires: python-numpy -%if %{with test} -BuildRequires: %{python_module pytest} -%endif %python_subpackages %description @@ -72,12 +69,10 @@ export CFLAGS="%{optflags}" %python_install %python_expand %fdupes %{buildroot}%{python_sitearch} -%if %{with test} %check %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} $python tests/pysndfile_test.py } -%endif %files %{python_files} %doc ChangeLog README.md