aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d1a44665..588b2ad9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
ROOT=/
-VERSION=$(shell awk '/define version/ { print $$3 }' initscripts.spec)
+VERSION=$(shell awk '/Version:/ { print $$2 }' initscripts.spec)
CVSTAG = r$(subst .,-,$(VERSION))
all: