From 957c467c99f7d0cf24c114f28c420fbe9676611f78cb6a228a5ea9decdf84a48 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Fri, 2 Feb 2018 10:57:07 +0000 Subject: [PATCH] Accepting request 571664 from home:dimstar:Factory - Pass -DPYTHON_EXECUTABLE=/usr/bin/python2 to CMake, ensuring we use the python2 interpreter. OBS-URL: https://build.opensuse.org/request/show/571664 OBS-URL: https://build.opensuse.org/package/show/graphics/hugin?expand=0&rev=82 --- hugin.changes | 6 ++++++ hugin.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/hugin.changes b/hugin.changes index 48dca73..d85bb95 100644 --- a/hugin.changes +++ b/hugin.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 1 09:37:01 UTC 2018 - dimstar@opensuse.org + +- Pass -DPYTHON_EXECUTABLE=/usr/bin/python2 to CMake, ensuring we + use the python2 interpreter. + ------------------------------------------------------------------- Sun Dec 24 15:14:30 UTC 2017 - adrian@suse.de diff --git a/hugin.spec b/hugin.spec index 37d3557..82b5b51 100644 --- a/hugin.spec +++ b/hugin.spec @@ -1,7 +1,7 @@ # # spec file for package hugin # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -116,6 +116,7 @@ cmake \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_SUFFIX=$LIB_SUFFIX \ -DENABLE_LAPACK=ON BUILD_HSI=ON \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 \ .. # parallel make kills our workers make VERBOSE=1 %{?_smp_mflags} -j1