From d4d6952df554d66eec8edc10d9234bc84edd72d2 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Tue, 10 Jan 2006 21:11:45 +0000 Subject: - 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 --- Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.1