Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ldas-tools-al-swig for 
openSUSE:Factory checked in at 2021-05-08 22:07:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ldas-tools-al-swig (Old)
 and      /work/SRC/openSUSE:Factory/.ldas-tools-al-swig.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ldas-tools-al-swig"

Sat May  8 22:07:43 2021 rev:3 rq:891508 version:2.6.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/ldas-tools-al-swig/ldas-tools-al-swig.changes    
2021-02-15 23:20:45.339795071 +0100
+++ 
/work/SRC/openSUSE:Factory/.ldas-tools-al-swig.new.2988/ldas-tools-al-swig.changes
  2021-05-08 22:08:53.841358114 +0200
@@ -1,0 +2,6 @@
+Tue May  4 13:01:57 UTC 2021 - Atri Bhattacharya <[email protected]>
+
+- Adapt for multi-flavoured python.
+- Re-enable python3.6 builds.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ldas-tools-al-swig.spec ++++++
--- /var/tmp/diff_new_pack.QgRjxG/_old  2021-05-08 22:08:54.269356261 +0200
+++ /var/tmp/diff_new_pack.QgRjxG/_new  2021-05-08 22:08:54.273356245 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ldas-tools-al-swig
 #
-# 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
@@ -15,7 +15,7 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%define skip_python36 1
+
 Name:           ldas-tools-al-swig
 Version:        2.6.7
 Release:        0
@@ -32,20 +32,32 @@
 BuildRequires:  pkgconfig(ldastoolsal)
 BuildRequires:  pkgconfig(ldastoolscmake)
 
+%python_subpackages
+
 %description
 This provides different language bindings for the LDAS tools abstaction 
library.
 
-%python_subpackages
-
 %prep
 %setup -q
 
 %build
-%cmake
+%{python_expand # Necessary to run cmake with all python flavors
+export PYTHON=$python
+mkdir ../${PYTHON}_build
+cp -pr ./ ../${PYTHON}_build
+pushd ../${PYTHON}_build
+%cmake -DPYTHON3_VERSION=%{$python_version}
 %cmake_build
+popd
+}
 
 %install
+%{python_expand # Necessary to run cmake with all python flavors
+export PYTHON=$python
+pushd ../${PYTHON}_build
 %cmake_install
+popd
+}
 
 %files -n %{name}
 %license COPYING

Reply via email to