SHA256
1
0
forked from pool/hugin

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
This commit is contained in:
Dirk Stoecker 2018-02-02 10:57:07 +00:00 committed by Git OBS Bridge
parent e27082125d
commit 957c467c99
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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