aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2006-01-10 21:11:45 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2006-01-10 21:11:45 +0000
commitd4d6952df554d66eec8edc10d9234bc84edd72d2 (patch)
tree4c25c717b06c90372b93f602375aa9ebe9b81e87 /Makefile.am
parent2efbb8c2aa2a24a477ec3d493817e5d516f0e674 (diff)
downloadrpm-setup-d4d6952df554d66eec8edc10d9234bc84edd72d2.tar
rpm-setup-d4d6952df554d66eec8edc10d9234bc84edd72d2.tar.gz
rpm-setup-d4d6952df554d66eec8edc10d9234bc84edd72d2.tar.bz2
rpm-setup-d4d6952df554d66eec8edc10d9234bc84edd72d2.tar.xz
rpm-setup-d4d6952df554d66eec8edc10d9234bc84edd72d2.zip
- fix error cause useless call to rpm -q --specfile (gb sucks)
- also dont put rpm release in cvs tag as the rpm is not part of software it self
Diffstat (limited to 'Makefile.am')
-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)