diff --git a/lal.changes b/lal.changes index 2c88b74..7e01ca3 100644 --- a/lal.changes +++ b/lal.changes @@ -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> diff --git a/lal.spec b/lal.spec index 84fd1ec..61129c5 100644 --- a/lal.spec +++ b/lal.spec @@ -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