From 8f4f86271cb3e56f65328567e20887a426c3f0021d706055044e2bd83927294c Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Mon, 10 Jan 2022 23:51:11 +0000 Subject: [PATCH] Accepting request 943580 from home:badshah400:branches:science - Update to version 3.1.0. - Drop python2 support in keeping with upstream. - Bump so number for shlib package. - Drop enum-conversion hack: no longer needed. OBS-URL: https://build.opensuse.org/request/show/943580 OBS-URL: https://build.opensuse.org/package/show/science/lalsimulation?expand=0&rev=13 --- lalsimulation-2.5.1.tar.xz | 3 --- lalsimulation-3.1.0.tar.xz | 3 +++ lalsimulation.changes | 9 +++++++++ lalsimulation.spec | 13 +++++++------ 4 files changed, 19 insertions(+), 9 deletions(-) delete mode 100644 lalsimulation-2.5.1.tar.xz create mode 100644 lalsimulation-3.1.0.tar.xz diff --git a/lalsimulation-2.5.1.tar.xz b/lalsimulation-2.5.1.tar.xz deleted file mode 100644 index bf0351c..0000000 --- a/lalsimulation-2.5.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0b1f02e21495888d557896248cb72246c45d76fc4a36d35a154947cf169ebbf4 -size 7438268 diff --git a/lalsimulation-3.1.0.tar.xz b/lalsimulation-3.1.0.tar.xz new file mode 100644 index 0000000..f128fa9 --- /dev/null +++ b/lalsimulation-3.1.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9be82007eedec1a85de89faffd85e03c7893356da1dda1a27de572f015f63e26 +size 7458540 diff --git a/lalsimulation.changes b/lalsimulation.changes index 36a93cf..ac25ffb 100644 --- a/lalsimulation.changes +++ b/lalsimulation.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Jan 3 00:30:32 UTC 2022 - Atri Bhattacharya + +- Update to version 3.1.0: + * No release notes. +- Drop python2 support in keeping with upstream. +- Bump so number for shlib package. +- Drop enum-conversion hack: no longer needed. + ------------------------------------------------------------------- Fri Feb 26 22:58:18 UTC 2021 - Atri Bhattacharya diff --git a/lalsimulation.spec b/lalsimulation.spec index 3d4a6e3..f0ab0b4 100644 --- a/lalsimulation.spec +++ b/lalsimulation.spec @@ -1,7 +1,7 @@ # # spec file for package lalsimulation # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,11 +18,14 @@ # NEP 29: python36-numpy and co. in TW are no more %define skip_python36 1 -%define shlib liblalsimulation23 +# Py2 support dropped upstream +%define skip_python2 1 + +%define shlib liblalsimulation29 # octave >= 6 not supported %bcond_with octave Name: lalsimulation -Version: 2.5.1 +Version: 3.1.0 Release: 0 Summary: LSC Algorithm Simulation Library License: GPL-2.0-only @@ -100,13 +103,11 @@ This package provides the necessary files for using LALSimulation with octave. %autosetup -p1 %build -%{python_expand # Necessary to run %%configure with both py2 and py3 +%{python_expand # Necessary to run configure with multiple py3 flavors export PYTHON=$python mkdir ../${PYTHON}_build cp -pr ./ ../${PYTHON}_build pushd ../${PYTHON}_build -# FIXME: Failures because XLAL_ERROR implictly converts to function return type -export CFLAGS+=" -Wno-enum-conversion" %configure \ %{?with_octave:--enable-swig-octave} \ %{!?with_octave:--disable-swig-octave}