[octave/el6: 1/2] Update macros.octave from master - fix %octave_api and add --no-window-system to %octave_cmd

Orion Poplawski orion at fedoraproject.org
Sun Feb 24 21:32:15 UTC 2013


commit 92c0ebd6f874b7bec4a7439f7c5bd103794a5269
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Sun Feb 24 14:31:40 2013 -0700

    Update macros.octave from master - fix %octave_api and add --no-window-system to %octave_cmd

 macros.octave |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/macros.octave b/macros.octave
index 5875023..76e4c13 100644
--- a/macros.octave
+++ b/macros.octave
@@ -1,7 +1,7 @@
 # Octave packaging macros
 
 # Octave binary API provided
-%octave_api %(octave-config -p API_VERSION || echo 0)}
+%octave_api %(octave-config -p API_VERSION || echo 0)
 
 # Octave Package Directories
 %octshareprefix %{_datadir}/octave
@@ -11,7 +11,7 @@
 %octpkglibdir %{octarchprefix}/%{octpkg}-%{version}
 
 # Run an octave command - quietly with no startup files
-%octave_cmd() octave -H -q --no-site-file --eval "%*";
+%octave_cmd() octave -H -q --no-window-system --no-site-file --eval "%*";
 
 # Build Source0 into a package tar file in a temporary location
 %octave_pkg_build %octave_cmd pkg build '-verbose' %{_tmppath}/%{name}-%{version}-%{release}.%{_arch} %{_builddir}/%{buildsubdir}


More information about the scm-commits mailing list