From: mlichvar Date: Tue, 30 Jan 2007 09:50:16 +0000 (+0000) Subject: - take version from Version: line in spec X-Git-Tag: r0-52-5~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e271d0b0d757e43f2ccec49c20066ccc0db07489;p=thirdparty%2Fnewt.git - take version from Version: line in spec --- diff --git a/configure.ac b/configure.ac index 9cbc579..74b525f 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_INIT([newt_pr.h]) PACKAGE=newt -VERSION=$(awk '/^%define version/ {print $3}' $srcdir/newt.spec) +VERSION=$(awk '/^Version: / {print $2}' $srcdir/newt.spec) SONAME=0.52 AC_CONFIG_HEADER([config.h])