Accepting request 903460 from home:aloisw:branches:science
- Add patch to handle the downstream 4ti2_ executable prefix in wrapper scripts OBS-URL: https://build.opensuse.org/request/show/903460 OBS-URL: https://build.opensuse.org/package/show/science/4ti2?expand=0&rev=20
This commit is contained in:
parent
7cd03f2b54
commit
9de53b150b
33
4ti2-handle-prefix.patch
Normal file
33
4ti2-handle-prefix.patch
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
--- a/src/groebner/script.template.in
|
||||||
|
+++ b/src/groebner/script.template.in
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
|
# We locate where this script is so we can call the executables.
|
||||||
|
-SCRIPT=`which "$0"`
|
||||||
|
+SCRIPT=$(realpath $(which "$0"))
|
||||||
|
DIR=`dirname "$SCRIPT"`
|
||||||
|
FUNCTION=`basename "$SCRIPT"`
|
||||||
|
|
||||||
|
--- a/src/zsolve/graver.template
|
||||||
|
+++ b/src/zsolve/graver.template
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
|
||||||
|
# We locate where this script is so we can call the executable zsolve which
|
||||||
|
# should be in the same directory as this script.
|
||||||
|
-SCRIPT=`which "$0"`
|
||||||
|
+SCRIPT=$(realpath $(which "$0"))
|
||||||
|
SCRIPTDIR=`dirname "$SCRIPT"`
|
||||||
|
EXECUTABLE=zsolve
|
||||||
|
|
||||||
|
--- a/src/zsolve/hilbert.template
|
||||||
|
+++ b/src/zsolve/hilbert.template
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
|
||||||
|
# We locate where this script is so we can call the executable zsolve which
|
||||||
|
# should be in the same directory as this script.
|
||||||
|
-SCRIPT=`which "$0"`
|
||||||
|
+SCRIPT=$(realpath $(which "$0"))
|
||||||
|
SCRIPTDIR=`dirname "$SCRIPT"`
|
||||||
|
EXECUTABLE=zsolve
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 1 13:39:30 UTC 2021 - Alois Wohlschlager <alois1@gmx-topmail.de>
|
||||||
|
|
||||||
|
- Add patch to handle the downstream 4ti2_ executable prefix in wrapper scripts
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 24 15:47:19 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Sat Aug 24 15:47:19 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package 4ti2
|
# spec file for package 4ti2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,6 +26,8 @@ URL: https://4ti2.github.io/
|
|||||||
|
|
||||||
Source: https://github.com/4ti2/4ti2/releases/download/Release_1_6_9/4ti2-1.6.9.tar.gz
|
Source: https://github.com/4ti2/4ti2/releases/download/Release_1_6_9/4ti2-1.6.9.tar.gz
|
||||||
Patch1: 4ti2-docdir.diff
|
Patch1: 4ti2-docdir.diff
|
||||||
|
# PATCH-FIX-OPENSUSE handle our downstream 4ti2_ executable prefix in the wrapper scripts
|
||||||
|
Patch2: 4ti2-handle-prefix.patch
|
||||||
BuildRequires: autoconf >= 2.59
|
BuildRequires: autoconf >= 2.59
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: gcc-c++ >= 4.3
|
BuildRequires: gcc-c++ >= 4.3
|
||||||
|
Loading…
Reference in New Issue
Block a user