From d91f4ddd9a0bb4ed52b8c6c9caf217c6d2fb0510 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 23 Aug 2012 13:43:43 -0400 Subject: [PATCH] Don't embed %dist into VERSION when making git tag names Signed-off-by: Adam Jackson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 76665e8..c273e8e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ NAME=$(shell awk '/Name:/ { print $$2 }' hwdata.spec) VERSION=$(shell awk '/Version:/ { print $$2 }' hwdata.spec) -RELEASE=$(shell rpm -q --specfile --qf "%{release}" hwdata.spec) +RELEASE=$(shell rpm -q --define 'dist %{nil}' --specfile --qf "%{release}" hwdata.spec) SOURCEDIR := $(shell pwd) prefix=$(DESTDIR)/usr -- 2.25.1