Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lalsimulation for openSUSE:Factory checked in at 2024-12-02 16:59:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lalsimulation (Old) and /work/SRC/openSUSE:Factory/.lalsimulation.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lalsimulation" Mon Dec 2 16:59:45 2024 rev:12 rq:1227763 version:6.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lalsimulation/lalsimulation.changes 2024-09-13 14:37:05.318739224 +0200 +++ /work/SRC/openSUSE:Factory/.lalsimulation.new.28523/lalsimulation.changes 2024-12-02 17:00:16.320072277 +0100 @@ -1,0 +2,12 @@ +Sun Dec 1 11:27:36 UTC 2024 - Atri Bhattacharya <badshah...@gmail.com> + +- Add lalsimulation-swig-stringval-not-value.patch: For + compatibility with swig 4.3.0, prefer 'stringval' before 'value' + attribute (upstream commit 9dba245a). + +------------------------------------------------------------------- +Mon Nov 18 12:43:36 UTC 2024 - Atri Bhattacharya <badshah...@gmail.com> + +- Fix use of %requires_eq with respect to octave. + +------------------------------------------------------------------- New: ---- lalsimulation-swig-stringval-not-value.patch BETA DEBUG BEGIN: New: - Add lalsimulation-swig-stringval-not-value.patch: For compatibility with swig 4.3.0, prefer 'stringval' before 'value' BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lalsimulation.spec ++++++ --- /var/tmp/diff_new_pack.ZwOyuE/_old 2024-12-02 17:00:16.768091232 +0100 +++ /var/tmp/diff_new_pack.ZwOyuE/_new 2024-12-02 17:00:16.772091401 +0100 @@ -31,6 +31,8 @@ License: GPL-2.0-only URL: https://wiki.ligo.org/Computing/DASWG/LALSuite Source: https://software.igwn.org/sources/source/lalsuite/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM +Patch0: https://git.ligo.org/lscsoft/lalsuite/-/commit/9dba245ab3692ecf691247a442704f13c075ed34.patch#/lalsimulation-swig-stringval-not-value.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module lal >= 7.2.0} BuildRequires: %{python_module numpy >= 1.7} @@ -93,6 +95,7 @@ This package provides the data files used when running analyses involving lalsimulation. +%if %{with octave} %package -n octave-lalsimulation Summary: Octave bindings for LALSimulation Requires: %{name}-data = %{version} @@ -101,8 +104,10 @@ %description -n octave-lalsimulation This package provides the necessary files for using LALSimulation with octave. +%endif %prep +# Upstream commits are -p1 against the full lalsuite, but -p2 against individual lal* pkgs %autosetup -p2 %build ++++++ lalsimulation-swig-stringval-not-value.patch ++++++ >From 9dba245ab3692ecf691247a442704f13c075ed34 Mon Sep 17 00:00:00 2001 From: Karl Wette <karl.we...@ligo.org> Date: Thu, 24 Oct 2024 18:06:30 +1100 Subject: [PATCH] common/swig/generate_swig_iface.py: prefer "stringval" before "value" attribute - As of SWIG 4.3.0 "value" attribute contains quote characters - "stringval" attribute appears to still contain the raw string --- common/swig/generate_swig_iface.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/swig/generate_swig_iface.py b/common/swig/generate_swig_iface.py index 530b026d5d..eaee2d41ce 100644 --- a/common/swig/generate_swig_iface.py +++ b/common/swig/generate_swig_iface.py @@ -195,9 +195,11 @@ class SwigSymbols(object): """Parse a swiglal macro """ cdecl_name = get_swig_attr(cdecl, 'name') - cdecl_value = get_swig_attr(cdecl, 'value') + cdecl_value = get_swig_attr(cdecl, 'stringval') if not cdecl_value: - raise ValueError("cdecl '{}' has no value".format(cdecl_name)) + cdecl_value = get_swig_attr(cdecl, 'value') + if not cdecl_value: + raise ValueError("cdecl '{}' has no value".format(cdecl_name)) macro = re.sub(r'\s', '', cdecl_value) if cdecl_name == '__swiglal__': if macro in clear_macros: -- GitLab