Dominique Leuenberger 2022-01-17 21:33:57 +00:00 committed by Git OBS Bridge
commit f04183e537
4 changed files with 19 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b1f02e21495888d557896248cb72246c45d76fc4a36d35a154947cf169ebbf4
size 7438268

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9be82007eedec1a85de89faffd85e03c7893356da1dda1a27de572f015f63e26
size 7458540

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Jan 3 00:30:32 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
- 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 <badshah400@gmail.com>

View File

@ -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}