[octave] Bump octave_api; new location for version.h

Orion Poplawski orion at fedoraproject.org
Sat Dec 7 07:01:48 UTC 2013


commit 002415fbbc20471518cd7c408e9a890fa8e5667c
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Sat Dec 7 00:01:49 2013 -0700

    Bump octave_api; new location for version.h

 octave.spec |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/octave.spec b/octave.spec
index 9abac16..522ddd7 100644
--- a/octave.spec
+++ b/octave.spec
@@ -1,5 +1,5 @@
 # From src/version.h:#define OCTAVE_API_VERSION
-%global octave_api api-v48+
+%global octave_api api-v49+
 
 # For rc versions, change release manually
 %global rcver 1
@@ -130,10 +130,10 @@ export F77=gfortran
  --with-cxsparse
 
 # Check that octave_api is set correctly (autogenerated file)
-make -C src version.h
-if ! grep -q '^#define OCTAVE_API_VERSION "%{octave_api}"' src/version.h
+make -C libinterp version.h
+if ! grep -q '^#define OCTAVE_API_VERSION "%{octave_api}"' libinterp/version.h
 then
-  echo "octave_api variable in spec does not match src/version.h"
+  echo "octave_api variable in spec does not match libinterp/version.h"
   exit 1
 fi
 


More information about the scm-commits mailing list