Bump octave_api; new location for version.h

This commit is contained in:
Orion Poplawski 2013-12-07 00:01:49 -07:00
parent 16790e8ae2
commit 002415fbbc

View File

@ -1,5 +1,5 @@
# From src/version.h:#define OCTAVE_API_VERSION # From src/version.h:#define OCTAVE_API_VERSION
%global octave_api api-v48+ %global octave_api api-v49+
# For rc versions, change release manually # For rc versions, change release manually
%global rcver 1 %global rcver 1
@ -130,10 +130,10 @@ export F77=gfortran
--with-cxsparse --with-cxsparse
# Check that octave_api is set correctly (autogenerated file) # Check that octave_api is set correctly (autogenerated file)
make -C src version.h make -C libinterp version.h
if ! grep -q '^#define OCTAVE_API_VERSION "%{octave_api}"' src/version.h if ! grep -q '^#define OCTAVE_API_VERSION "%{octave_api}"' libinterp/version.h
then 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 exit 1
fi fi