From 002415fbbc20471518cd7c408e9a890fa8e5667c Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sat, 7 Dec 2013 00:01:49 -0700 Subject: [PATCH] Bump octave_api; new location for version.h --- octave.spec | 8 ++++---- 1 file 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