Dominique Leuenberger 2021-04-21 18:59:10 +00:00 committed by Git OBS Bridge
commit 353ce2e590
5 changed files with 95 additions and 55 deletions

View File

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

3
lalapps-7.2.0.tar.xz Normal file
View File

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

View File

@ -1,8 +1,8 @@
Index: lalapps-6.26.0/src/string/StringSearch.c
Index: lalapps-7.1.0/src/string/StringSearch.c
===================================================================
--- lalapps-6.26.0.orig/src/string/StringSearch.c
+++ lalapps-6.26.0/src/string/StringSearch.c
@@ -202,7 +202,7 @@ int main(int argc,char *argv[])
--- lalapps-7.1.0.orig/src/string/StringSearch.c
+++ lalapps-7.1.0/src/string/StringSearch.c
@@ -201,7 +201,7 @@ int main(int argc,char *argv[])
unsigned seg_length;
StringTemplate strtemplate[MAXTEMPLATES];
int NTemplates;
@ -11,23 +11,10 @@ Index: lalapps-6.26.0/src/string/StringSearch.c
REAL8 fcutoff_fix[MAXTEMPLATES]; /* high frequency cutoffs given by the template bank file */
SnglBurst *events=NULL;
MetadataTable process;
Index: lalapps-6.26.0/src/pulsar/SFTTools/SFTvalidate.c
Index: lalapps-7.1.0/src/pulsar/HoughFstat/HierarchicalSearch.c
===================================================================
--- lalapps-6.26.0.orig/src/pulsar/SFTTools/SFTvalidate.c
+++ lalapps-6.26.0/src/pulsar/SFTTools/SFTvalidate.c
@@ -59,7 +59,7 @@ int main(int argc, char** argv) {
/* and read successive SFTs blocks from the file and validate CRC
checksums */
for (count=0; 1; count++) {
- struct headertag2 info,lastinfo;
+ struct headertag2 info,lastinfo={};
int err=0, swapendian, move, j;
err=ReadSFTHeader(fp, &info, NULL, &swapendian, 1);
Index: lalapps-6.26.0/src/pulsar/HoughFstat/HierarchicalSearch.c
===================================================================
--- lalapps-6.26.0.orig/src/pulsar/HoughFstat/HierarchicalSearch.c
+++ lalapps-6.26.0/src/pulsar/HoughFstat/HierarchicalSearch.c
--- lalapps-7.1.0.orig/src/pulsar/HoughFstat/HierarchicalSearch.c
+++ lalapps-7.1.0/src/pulsar/HoughFstat/HierarchicalSearch.c
@@ -1255,7 +1255,7 @@ void SetUpSFTs( LALStatus *status, /**
REAL8 timebase, tObs, deltaFsft;
UINT4 k,numSFTby2;
@ -46,11 +33,11 @@ Index: lalapps-6.26.0/src/pulsar/HoughFstat/HierarchicalSearch.c
HoughStats stats; /* statistics struct */
CHAR *fileStats = NULL;
FILE *fpStats = NULL;
Index: lalapps-6.26.0/src/pulsar/SFTTools/splitSFTs.c
Index: lalapps-7.1.0/src/pulsar/SFTTools/splitSFTs.c
===================================================================
--- lalapps-6.26.0.orig/src/pulsar/SFTTools/splitSFTs.c
+++ lalapps-6.26.0/src/pulsar/SFTTools/splitSFTs.c
@@ -199,7 +199,7 @@ int main( int argc, char **argv )
--- lalapps-7.1.0.orig/src/pulsar/SFTTools/splitSFTs.c
+++ lalapps-7.1.0/src/pulsar/SFTTools/splitSFTs.c
@@ -196,7 +196,7 @@ int main( int argc, char **argv )
{
int arg; /* current command-line argument */
unsigned int bin; /* current bin */

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Apr 20 13:53:56 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Fix runtime requirement for python-lal 7.1.0
-------------------------------------------------------------------
Sat Feb 27 00:02:59 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 7.2.0 (no release notes).
-------------------------------------------------------------------
Fri Feb 12 21:51:42 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to version 7.1.0
* no public changelog
- Skip python36 build. Due to NEP 29, astropy, numpy, scipy and co.
do not have a python36 flavored package in TW
- Refresh lalapps-fix-uninitialised-var.patch
- Enable test suite
- Fix the python subpackage setup
-------------------------------------------------------------------
Mon Nov 2 10:49:34 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package lalapps
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,8 +17,10 @@
%define skip_python2 1
# NEP 29: astropy, numpy, scipy do not have a python36 flavor package in TW
%define skip_python36 1
Name: lalapps
Version: 6.26.1
Version: 7.2.0
Release: 0
Summary: LSC Algorithm Library Applications
License: GPL-2.0-or-later
@ -30,12 +32,12 @@ Patch0: lalapps-fix-uninitialised-var.patch
BuildRequires: %{python_module astropy}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module glue}
BuildRequires: %{python_module lal >= 6.21.0}
BuildRequires: %{python_module lalburst >= 1.5.4}
BuildRequires: %{python_module lal >= 7.1.0}
BuildRequires: %{python_module lalburst >= 1.5.3}
BuildRequires: %{python_module lalframe >= 1.5.0}
BuildRequires: %{python_module lalinference >= 1.11.0}
BuildRequires: %{python_module lalmetaio >= 1.6.0}
BuildRequires: %{python_module lalpulsar >= 1.18.0}
BuildRequires: %{python_module lalinference >= 2.0.0}
BuildRequires: %{python_module lalmetaio >= 2.0.0}
BuildRequires: %{python_module lalpulsar >= 3.0.0}
BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module numpy}
@ -47,28 +49,25 @@ BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: swig
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(framel)
BuildRequires: pkgconfig(framel) >= 8.39.2
BuildRequires: pkgconfig(gsl)
BuildRequires: pkgconfig(lal) >= 6.21.0
BuildRequires: pkgconfig(lalburst) >= 1.5.4
BuildRequires: pkgconfig(lal) >= 7.1.0
BuildRequires: pkgconfig(lalburst) >= 1.5.3
BuildRequires: pkgconfig(lalframe) >= 1.5.0
BuildRequires: pkgconfig(lalinference) >= 1.11.0
BuildRequires: pkgconfig(lalinspiral) >= 1.10.0
BuildRequires: pkgconfig(lalmetaio) >= 1.6.0
BuildRequires: pkgconfig(lalpulsar) >= 1.18.0
BuildRequires: pkgconfig(lalsimulation) >= 1.10.0
Requires: python3-lal >= 6.21.0
Requires: python3-lalburst >= 1.5.4
Requires: python3-lalframe >= 1.5.0
Requires: python3-lalinference >= 1.11.0
Requires: python3-lalinspiral >= 1.10.0
Requires: python3-lalmetaio >= 1.6.0
Requires: python3-lalpulsar >= 1.18.0
Requires: python3-lalsimulation >= 1.10.0
Requires: python3-numpy
Requires: python3-scipy
BuildRequires: pkgconfig(lalinference) >= 2.0.0
BuildRequires: pkgconfig(lalinspiral) >= 2.0.0
BuildRequires: pkgconfig(lalmetaio) >= 2.0.0
BuildRequires: pkgconfig(lalpulsar) >= 3.0.0
BuildRequires: pkgconfig(lalsimulation) >= 2.5.0
# SECTION For tests
BuildRequires: %{python_module pytest}
BuildRequires: bc
BuildRequires: lalpulsar-data
Requires: python3-%{name} = %{version}
# /SECTION
# 32-bit no longer supported upstream
ExcludeArch: %{ix86}
%define python_subpackage_only 1
%python_subpackages
%description
@ -76,6 +75,31 @@ The LSC Algorithm Library Applications for gravitational wave data analysis.
This package contains applications that are built on tools in the LSC
Algorithm Library.
%package -n python-%{name}
Summary: LSC Algorithm Library Applications
Group: Productivity/Scientific/Physics
Requires: python-h5py
Requires: python-lal >= 7.1.0
Requires: python-lalburst >= 1.5.3
Requires: python-lalframe >= 1.5.0
Requires: python-lalinference >= 2.0.0
Requires: python-lalinspiral >= 2.0.0
Requires: python-lalmetaio >= 2.0.0
Requires: python-lalpulsar >= 3.0.0
Requires: python-lalsimulation >= 2.5.0
Requires: python-ligo-lw
Requires: python-ligo-segments
Requires: python-matplotlib
Requires: python-numpy
Requires: python-scipy
%description -n python-%{name}
The LSC Algorithm Library Applications for gravitational wave data analysis.
This package contains applications that are built on tools in the LSC
Algorithm Library.
This package contains the python files
%prep
%autosetup -p1
@ -84,7 +108,7 @@ sed -Ei "1{s|/usr/bin/env python|%{_bindir}/python3|}" \
src/pulsar/HeterodyneSearch/make_frame_cache
%build
%{python_expand # Necessary to run %%configure with both py2 and py3
%{python_expand # Necessary to run %%configure for all active python flavors
export PYTHON=%{_bindir}/$python
mkdir ../$python
cp -pr ./ ../$python
@ -98,7 +122,7 @@ popd
}
%install
%{python_expand # py2 and py3 make_install
%{python_expand # install for all active python flavors
export PYTHON=$python
pushd ../$python
%make_install
@ -144,6 +168,14 @@ find %{buildroot} -type f -name "*.la" -delete -print
%python_expand %fdupes %{buildroot}%{$python_sitearch}/%{name}/
%fdupes %{buildroot}/%{_datadir}/%{name}/
%check
%{python_expand #
export PYTHON=$python
pushd ../$python
%make_build check
popd
}
%files -n %{name}
%license COPYING
%{_bindir}/*
@ -151,7 +183,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_mandir}/man1/*
%config %{_sysconfdir}/profile.d/%{name}.*
%files %{python_files}
%files %{python_files %{name}}
%{python_sitearch}/*
%changelog