From 418609f6c9399ee8fc6a5c24638bb2d54bbfa803 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Thu, 18 May 2006 15:48:35 +0000 Subject: - 0.12 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f02b7ab..5d410c4 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,8 @@ #--------------------------------------------------------------- PACKAGE=spec-helper -VERSION:=$(shell grep '%define *version ' $(PACKAGE).spec| cut -d ' ' -f 3) -RELEASE:=$(shell grep '%define *release ' $(PACKAGE).spec| cut -d ' ' -f 3) +VERSION:=$(shell rpm --qf %{VERSION} -q --specfile spec-helper.spec) +RELEASE:=$(shell rpm --qf %{RELEASE} -q --specfile spec-helper.spec) TAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__') FILES= spec-helper clean_files clean_perl compress_files strip_files relative_me_babe lib_symlinks gprintify.py fix-mo translate_menu.pl -- cgit v1.2.1