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