From 388d0942042cf39b55fbb6ec54aba65396367e5a14333b270159e543795fbe84 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Fri, 23 Oct 2020 06:27:54 +0000 Subject: [PATCH] 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 --- lalsimulation-2.2.0.tar.xz | 3 --- lalsimulation-2.2.1.tar.xz | 3 +++ lalsimulation.changes | 15 +++++++++++++++ lalsimulation.spec | 11 ++++++++++- 4 files changed, 28 insertions(+), 4 deletions(-) delete mode 100644 lalsimulation-2.2.0.tar.xz create mode 100644 lalsimulation-2.2.1.tar.xz diff --git a/lalsimulation-2.2.0.tar.xz b/lalsimulation-2.2.0.tar.xz deleted file mode 100644 index 41818e2..0000000 --- a/lalsimulation-2.2.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d14b48d22eb631e37f058459a8b694e799689a2015e46a03c3165e1d58134635 -size 7290688 diff --git a/lalsimulation-2.2.1.tar.xz b/lalsimulation-2.2.1.tar.xz new file mode 100644 index 0000000..cd2290d --- /dev/null +++ b/lalsimulation-2.2.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:043518d24e2fa5ad18869fa5f9d1a6bd9a9b60cfedf92b5e3f871242768eebe9 +size 7283660 diff --git a/lalsimulation.changes b/lalsimulation.changes index 6433403..aa5ea76 100644 --- a/lalsimulation.changes +++ b/lalsimulation.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Oct 23 05:58:27 UTC 2020 - Atri Bhattacharya + +- 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 + +- 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 diff --git a/lalsimulation.spec b/lalsimulation.spec index 65de563..d645cd5 100644 --- a/lalsimulation.spec +++ b/lalsimulation.spec @@ -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