From e271d0b0d757e43f2ccec49c20066ccc0db07489 Mon Sep 17 00:00:00 2001 From: mlichvar Date: Tue, 30 Jan 2007 09:50:16 +0000 Subject: [PATCH] - take version from Version: line in spec --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.47.2