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