Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package framel for openSUSE:Factory checked 
in at 2021-11-18 10:33:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/framel (Old)
 and      /work/SRC/openSUSE:Factory/.framel.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "framel"

Thu Nov 18 10:33:41 2021 rev:4 rq:931970 version:MACRO

Changes:
--------
--- /work/SRC/openSUSE:Factory/framel/framel.changes    2021-04-21 
20:59:24.298201868 +0200
+++ /work/SRC/openSUSE:Factory/.framel.new.1895/framel.changes  2021-11-18 
10:33:55.759912747 +0100
@@ -1,0 +2,9 @@
+Fri Nov 12 16:39:57 UTC 2021 - Atri Bhattacharya <[email protected]>
+
+- Update to version 8.41.5.
+- Upstream tarball and versioning scheme changed.
+- Fix python packaging issues: Replace sed-ing changes into the
+  CMakeLists.txt file with explicit Python3_EXECUTABLE option to
+  cmake command.
+
+-------------------------------------------------------------------

Old:
----
  framel-8.40.1.tar.xz

New:
----
  Fr-v8r41p5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ framel.spec ++++++
--- /var/tmp/diff_new_pack.tSmHwW/_old  2021-11-18 10:33:56.123913086 +0100
+++ /var/tmp/diff_new_pack.tSmHwW/_new  2021-11-18 10:33:56.127913090 +0100
@@ -16,17 +16,20 @@
 #
 
 
+%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:        8.40.1
+Version:        %{ver}
 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:         
http://software.igwn.org/lscsoft/source/%{name}-%{version}.tar.xz
+Source:         
https://git.ligo.org/virgo/virgoapp/Fr/-/archive/%{upstream_version}/Fr-%{upstream_version}.tar.gz
 # PATCH-FIX-UPSTREAM framel-fix-pkgconfig.patch [email protected] -- Fix 
include and lib dir paths in pkgconfig file
 Patch0:         framel-fix-pkgconfig.patch
 BuildRequires:  %{python_module numpy-devel}
@@ -34,6 +37,7 @@
 BuildRequires:  cmake >= 3.12
 BuildRequires:  gcc-c++
 BuildRequires:  python-rpm-macros
+
 %python_subpackages
 
 %description
@@ -63,27 +67,27 @@
 against the frame library.
 
 %prep
-%autosetup -p1
+%autosetup -p1 -n %{upstream_name}-%{upstream_version}
 
 %build
 %{python_expand #for supported py3 flavours
-export PYTHON=$python
-mkdir ../${PYTHON}_build
-cp -pr ./ ../${PYTHON}_build
-pushd ../${PYTHON}_build
-sed -i 's/find_package(Python3 /find_package(Python3 %{$python_version} EXACT 
/' Python/CMakeLists.txt
+export PYTHON=%{_bindir}/$python
+mkdir ../{$python}_build
+cp -pr ./ ../{$python}_build
+pushd ../{$python}_build
 %cmake \
   -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/%{name} \
   -DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} \
-  -DENABLE_PYTHON=yes
+  -DENABLE_PYTHON=yes \
+  -DPython3_EXECUTABLE=${PYTHON}
 %cmake_build
 popd
 }
 
 %install
 %{python_expand #for supported py3 flavours
-export PYTHON=$python
-pushd ../${PYTHON}_build
+export PYTHON=%{_bindir}/$python
+pushd ../{$python}_build
 %cmake_install
 popd
 }

Reply via email to