aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index eb626d6..99e50f7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,6 @@
# $Id$
-VERSION := $(shell rpm -q --qf "%{VERSION}\n" --specfile $(PACKAGE).spec | tail -1)
-RELEASE := $(shell rpm -q --qf "%{RELEASE}\n" --specfile $(PACKAGE).spec | tail -1)
-TAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
+TAG := $(shell echo "V$(PACKAGE_VERSION)" | tr -- '-.' '__')
macrosfiles = $(RPMALLARCH:=.macros)