SHA256
1
0
forked from pool/lal

Accepting request 845005 from home:StefanBruens:branches:science

- Build without octave bindings on Leap 15.x, requires SWIG 4.0

OBS-URL: https://build.opensuse.org/request/show/845005
OBS-URL: https://build.opensuse.org/package/show/science/lal?expand=0&rev=8
This commit is contained in:
Atri Bhattacharya 2020-10-31 17:03:35 +00:00 committed by Git OBS Bridge
parent 866079f523
commit a4ea1099de
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 30 09:52:37 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Build without octave bindings on Leap 15.x, requires SWIG 4.0
-------------------------------------------------------------------
Sun Oct 25 17:56:07 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -18,7 +18,11 @@
%define shliblal liblal20
%define shliblalsupport liblalsupport14
%if 0%{suse_version} >= 1550
%bcond_without octave
%else
%bcond_with octave
%endif
Name: lal
Version: 7.0.0
Release: 0
@ -40,7 +44,7 @@ BuildRequires: fdupes
BuildRequires: hdf5-devel
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: swig >= 4.0
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(gsl)
BuildRequires: pkgconfig(zlib)
@ -54,6 +58,9 @@ Requires: python-six
ExcludeArch: %{ix86}
%if %{with octave}
BuildRequires: octave-devel
BuildRequires: swig >= 4.0
%else
BuildRequires: swig >= 3.0
%endif
# SECTION For tests (only with python3)
BuildRequires: python3-freezegun