Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package framel for openSUSE:Factory checked in at 2022-08-24 15:11:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/framel (Old) and /work/SRC/openSUSE:Factory/.framel.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "framel" Wed Aug 24 15:11:01 2022 rev:5 rq:998852 version:8.42.3 Changes: -------- --- /work/SRC/openSUSE:Factory/framel/framel.changes 2021-11-18 10:33:55.759912747 +0100 +++ /work/SRC/openSUSE:Factory/.framel.new.2083/framel.changes 2022-08-24 15:11:16.404510906 +0200 @@ -1,0 +2,11 @@ +Sat Aug 20 00:06:09 UTC 2022 - Atri Bhattacharya <[email protected]> + +- Update to version 8.42.3: + * no release notes. +- Add framel-correct-python-platlib.patch to fix location of + installed python modules and avoid use of deprecated distutils. +- Update upstream and source URLs. +- Minor changes to how the build dirs for the different python + flavours are named. + +------------------------------------------------------------------- Old: ---- Fr-v8r41p5.tar.gz New: ---- Fr-8.42.3.tar.bz2 framel-correct-python-platlib.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ framel.spec ++++++ --- /var/tmp/diff_new_pack.UX6DCl/_old 2022-08-24 15:11:16.856511341 +0200 +++ /var/tmp/diff_new_pack.UX6DCl/_new 2022-08-24 15:11:16.860511345 +0200 @@ -1,7 +1,7 @@ # # spec file for package framel # -# 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 @@ -17,21 +17,21 @@ %define upstream_name Fr -%define upstream_version v8r41p5 -%define ver %(echo %{upstream_version} | tr -d 'v' | sed 's/[p-r]/./g') %define skip_python2 1 # Disable py 3.6: no numpy %define skip_python36 1 %global shlib lib%{name}8 Name: framel -Version: %{ver} +Version: 8.42.3 Release: 0 Summary: Library to manipulate Gravitational Wave Detector data in frame format License: LGPL-2.1-or-later -URL: https://lappweb.in2p3.fr/virgo/FrameL/ -Source: https://git.ligo.org/virgo/virgoapp/Fr/-/archive/%{upstream_version}/Fr-%{upstream_version}.tar.gz +URL: https://git.ligo.org/virgo/virgoapp/Fr +Source: %{url}/-/archive/%{version}/Fr-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM framel-fix-pkgconfig.patch [email protected] -- Fix include and lib dir paths in pkgconfig file Patch0: framel-fix-pkgconfig.patch +# PATCH-FIX-UPSTREAM framel-correct-python-platlib.patch [email protected] -- Use sysconfig instead of distutils.sysconfig to correctly set python platlib +Patch1: framel-correct-python-platlib.patch BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module setuptools} BuildRequires: cmake >= 3.12 @@ -67,14 +67,14 @@ against the frame library. %prep -%autosetup -p1 -n %{upstream_name}-%{upstream_version} +%autosetup -p1 -n %{upstream_name}-%{version} %build %{python_expand #for supported py3 flavours export PYTHON=%{_bindir}/$python -mkdir ../{$python}_build -cp -pr ./ ../{$python}_build -pushd ../{$python}_build +mkdir ../$python +cp -pr ./ ../$python +pushd ../$python %cmake \ -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/%{name} \ -DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} \ @@ -87,7 +87,7 @@ %install %{python_expand #for supported py3 flavours export PYTHON=%{_bindir}/$python -pushd ../{$python}_build +pushd ../$python %cmake_install popd } ++++++ framel-correct-python-platlib.patch ++++++ Index: Fr-8.42.3/Python/CMakeLists.txt =================================================================== --- Fr-8.42.3.orig/Python/CMakeLists.txt +++ Fr-8.42.3/Python/CMakeLists.txt @@ -10,8 +10,8 @@ if (ENABLE_PYTHON) # find paths by querying python execute_process( COMMAND "${Python3_EXECUTABLE}" "-c" - "from distutils import sysconfig; import numpy; -print(sysconfig.get_python_lib(plat_specific=True, prefix=''), end=';'); + "import sysconfig; import numpy; +print(sysconfig.get_path('platlib'), end=';'); print(numpy.get_include(), end=';') " RESULT_VARIABLE _Python3_RESULT @@ -62,7 +62,7 @@ print(numpy.get_include(), end=';') endif() # install python library - set(TARGET_SP_DIR "${CMAKE_INSTALL_PREFIX}/${Python3_INSTALL_DIR}") + set(TARGET_SP_DIR "${Python3_INSTALL_DIR}") install( TARGETS PyFr3 RUNTIME DESTINATION ${TARGET_SP_DIR} ++++++ framel-fix-pkgconfig.patch ++++++ --- /var/tmp/diff_new_pack.UX6DCl/_old 2022-08-24 15:11:16.888511372 +0200 +++ /var/tmp/diff_new_pack.UX6DCl/_new 2022-08-24 15:11:16.892511376 +0200 @@ -1,7 +1,7 @@ -Index: framel-8.40.1/src/framel.pc.in +Index: Fr-8.42.3/src/framel.pc.in =================================================================== ---- framel-8.40.1.orig/src/framel.pc.in -+++ framel-8.40.1/src/framel.pc.in +--- Fr-8.42.3.orig/src/framel.pc.in ++++ Fr-8.42.3/src/framel.pc.in @@ -1,7 +1,7 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix}
