Hello community,

here is the log from the commit of package lal for openSUSE:Factory checked in 
at 2020-11-02 09:41:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lal (Old)
 and      /work/SRC/openSUSE:Factory/.lal.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lal"

Mon Nov  2 09:41:26 2020 rev:2 rq:844988 version:7.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/lal/lal.changes  2020-08-18 15:06:21.555924229 
+0200
+++ /work/SRC/openSUSE:Factory/.lal.new.3463/lal.changes        2020-11-02 
09:41:43.385686480 +0100
@@ -1,0 +2,22 @@
+Sun Oct 25 17:56:07 UTC 2020 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Specfile cleanups with spec-cleaner.
+- Update URL in keeping with upstream change.
+
+-------------------------------------------------------------------
+Sat Aug 15 08:25:42 UTC 2020 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Run tests as part of %check; add necessary BuildRequires:
+  python3-scipy, python3-six, python3-freezegun,
+  python3-python-dateutil, python3-ligo-segments, and
+  python3-pytest for python3 tests to succeed (don't run tests for
+  python2).
+- Add Requires: python-six, python-freezegun,
+  python-python-dateutil, python-scipy, and python-ligo-segments
+  as tests show these packages are needed for the python modules
+  to work meaningfully.
+- ExcludeArch 32-bit, as tests fail and upstream confirms that it
+  is not supported
+  (https://git.ligo.org/lscsoft/lalsuite/-/issues/371).
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lal.spec ++++++
--- /var/tmp/diff_new_pack.Xpgbz0/_old  2020-11-02 09:41:44.425687478 +0100
+++ /var/tmp/diff_new_pack.Xpgbz0/_new  2020-11-02 09:41:44.429687482 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lal
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %define shliblal liblal20
 %define shliblalsupport liblalsupport14
 %bcond_without octave
@@ -24,7 +25,7 @@
 Summary:        A collection of various gravitational wave data analysis 
routines
 License:        GPL-2.0-only
 Group:          Productivity/Scientific/Physics
-URL:            https://wiki.ligo.org/Computing/DASWG/LALSuite
+URL:            https://wiki.ligo.org/Computing/LALSuite
 Source:         
http://software.ligo.org/lscsoft/source/lalsuite/lal-%{version}.tar.xz
 # PATCH-FIX-UPSTREAM lal-implicit-conversion-XLALError.patch 
badshah...@gmail.com -- Fix an implicit coversion issue flagged by GCC 10
 Patch0:         lal-implicit-conversion-XLALError.patch
@@ -43,21 +44,40 @@
 BuildRequires:  pkgconfig(fftw3)
 BuildRequires:  pkgconfig(gsl)
 BuildRequires:  pkgconfig(zlib)
+Requires:       python-freezegun
+Requires:       python-ligo-segments
+Requires:       python-lscsoft-glue
+Requires:       python-numpy
+Requires:       python-python-dateutil
+Requires:       python-scipy
+Requires:       python-six
+ExcludeArch:    %{ix86}
 %if %{with octave}
 BuildRequires:  octave-devel
 %endif
-Requires:       python-lscsoft-glue
-Requires:       python-numpy
+# SECTION For tests (only with python3)
+BuildRequires:  python3-freezegun
+BuildRequires:  python3-ligo-segments
+BuildRequires:  python3-pytest
+BuildRequires:  python3-python-dateutil
+BuildRequires:  python3-scipy
+# /SECTION
+
+%python_subpackages
 
 %description
-The LSC Algorithm Library Suite (LALSuite) is comprised of various 
gravitational wave data analysis routines written in C following the ISO/IEC 
9899:1999 standard.
+The LSC Algorithm Library Suite (LALSuite) is comprised of various
+gravitational wave data analysis routines written in C following the ISO/IEC
+9899:1999 standard.
 
 %package -n %{shliblal}
 Summary:        Shared library for LAL
 Group:          System/Libraries
 
 %description -n %{shliblal}
-The LSC Algorithm Library Suite (LALSuite) is comprised of various 
gravitational wave data analysis routines written in C following the ISO/IEC 
9899:1999 standard.
+The LSC Algorithm Library Suite (LALSuite) is comprised of various
+gravitational wave data analysis routines written in C following the ISO/IEC
+9899:1999 standard.
 
 This package provides the shared library for lal.
 
@@ -66,7 +86,9 @@
 Group:          System/Libraries
 
 %description -n %{shliblalsupport}
-The LSC Algorithm Library Suite (LALSuite) is comprised of various 
gravitational wave data analysis routines written in C following the ISO/IEC 
9899:1999 standard.
+The LSC Algorithm Library Suite (LALSuite) is comprised of various
+gravitational wave data analysis routines written in C following the ISO/IEC
+9899:1999 standard.
 
 This package provides the shared library for lalsupport.
 
@@ -75,12 +97,14 @@
 Group:          Productivity/Scientific/Physics
 Requires:       %{shliblalsupport} = %{version}
 Requires:       %{shliblal} = %{version}
-Requires:       pkgconfig(zlib)
 Requires:       pkgconfig(fftw3)
 Requires:       pkgconfig(gsl)
+Requires:       pkgconfig(zlib)
 
 %description -n %{name}-devel
-The LSC Algorithm Library Suite (LALSuite) is comprised of various 
gravitational wave data analysis routines written in C following the ISO/IEC 
9899:1999 standard.
+The LSC Algorithm Library Suite (LALSuite) is comprised of various
+gravitational wave data analysis routines written in C following the ISO/IEC
+9899:1999 standard.
 
 This package provides the header files and sources need for building software 
against lal.
 
@@ -90,12 +114,12 @@
 %requires_eq    octave-cli
 
 %description -n octave-lal
-The LSC Algorithm Library Suite (LALSuite) is comprised of various 
gravitational wave data analysis routines written in C following the ISO/IEC 
9899:1999 standard.
+The LSC Algorithm Library Suite (LALSuite) is comprised of various
+gravitational wave data analysis routines written in C following the ISO/IEC
+9899:1999 standard.
 
 This package provides the octave module for lal.
 
-%python_subpackages
-
 %prep
 %autosetup -p1
 
@@ -108,7 +132,7 @@
 %configure \
   %{?with_octave:--enable-swig-octave} \
   %{!?with_octave:--disable-swig-octave}
-make %{?_smp_mflags}
+%make_build
 popd
 }
 
@@ -133,6 +157,14 @@
 sed -Ei "1{/^#!\/usr\/bin\/env python/d}" 
%{buildroot}%{$python_sitearch}/lal/antenna.py
 }
 
+%ifpython3
+%check
+# Run tests from the python3 build dir
+pushd ../python3_build
+%make_build check
+popd
+%endif
+
 %post -n %{shliblal} -p /sbin/ldconfig
 %post -n %{shliblalsupport} -p /sbin/ldconfig
 %postun -n %{shliblal} -p /sbin/ldconfig


Reply via email to