Accepting request 843511 from home:badshah400:branches:science

* Update to version 2.2.1.
* Implement tests in %check section; BuildRequires: python3-pytest required for python tests.
* ExcludeArch 32-bit, as tests fail and upstream confirms that it is not supported (https://git.ligo.org/lscsoft/lalsuite/-/issues/371).

OBS-URL: https://build.opensuse.org/request/show/843511
OBS-URL: https://build.opensuse.org/package/show/science/lalsimulation?expand=0&rev=7
This commit is contained in:
Dirk Stoecker 2020-10-23 06:27:54 +00:00 committed by Git OBS Bridge
parent 722d38f511
commit 388d094204
4 changed files with 28 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d14b48d22eb631e37f058459a8b694e799689a2015e46a03c3165e1d58134635
size 7290688

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:043518d24e2fa5ad18869fa5f9d1a6bd9a9b60cfedf92b5e3f871242768eebe9
size 7283660

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Oct 23 05:58:27 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.2.1:
* NRSur7dq4: Fix memory leak when omega0 is too low.
-------------------------------------------------------------------
Sat Aug 15 09:32:15 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Implement tests in %check section; BuildRequires: python3-pytest
required for python tests.
- ExcludeArch 32-bit, as tests fail and upstream confirms that it
is not supported
(https://git.ligo.org/lscsoft/lalsuite/-/issues/371).
-------------------------------------------------------------------
Tue Aug 11 13:33:01 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -19,7 +19,7 @@
%define shlib liblalsimulation23
%bcond_without octave
Name: lalsimulation
Version: 2.2.0
Version: 2.2.1
Release: 0
Summary: LSC Algorithm Simulation Library
License: GPL-2.0-only
@ -45,11 +45,15 @@ BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(octave)
BuildRequires: octave-lal >= 6.22.0
%endif
# SECTION For tests
BuildRequires: python3-pytest
# /SECTION
Requires: python-lal >= 6.22.0
Requires: python-numpy
Requires: python-six
# FOR PYTHON PACKAGE
Requires: lalsimulation-data = %{version}
ExcludeArch: %{ix86}
%python_subpackages
@ -151,6 +155,11 @@ find %{buildroot} -type f -name "*.la" -delete -print
%fdupes %{buildroot}%{_datadir}/%{name}
%python_expand %fdupes %{buildroot}%{$python_sitearch}/%{name}/
%check
pushd ../python3_build
make %{?_smp_mflags} check || cat test/python/test-suite.log
popd
%post -n %{shlib} -p /sbin/ldconfig
%postun -n %{shlib} -p /sbin/ldconfig