forked from pool/python-pysndfile
- Remove the test condition, run them always
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysndfile?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
13ab84c03d
commit
1a4ca05cdb
@@ -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
|
Fri Aug 10 22:26:07 UTC 2018 - jsikes@suse.de
|
||||||
|
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without test
|
|
||||||
Name: python-pysndfile
|
Name: python-pysndfile
|
||||||
Version: 1.3.2
|
Version: 1.3.2
|
||||||
Release: 0
|
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
|
Source11: https://forge-2.ircam.fr/roebel/pysndfile/raw/master/COPYING.LESSER.txt
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module numpy-devel}
|
BuildRequires: %{python_module numpy-devel}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libsndfile-devel
|
BuildRequires: libsndfile-devel
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-numpy
|
Requires: python-numpy
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -72,12 +69,10 @@ export CFLAGS="%{optflags}"
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{python_sitearch}
|
%python_expand %fdupes %{buildroot}%{python_sitearch}
|
||||||
|
|
||||||
%if %{with test}
|
|
||||||
%check
|
%check
|
||||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
||||||
$python tests/pysndfile_test.py
|
$python tests/pysndfile_test.py
|
||||||
}
|
}
|
||||||
%endif
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc ChangeLog README.md
|
%doc ChangeLog README.md
|
||||||
|
Reference in New Issue
Block a user