From: Adam Jackson Date: Thu, 23 Aug 2012 17:43:43 +0000 (-0400) Subject: Don't embed %dist into VERSION when making git tag names X-Git-Tag: hwdata-0.235-1^0 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d91f4ddd9a0bb4ed52b8c6c9caf217c6d2fb0510;p=oweals%2Fhwdata.git Don't embed %dist into VERSION when making git tag names Signed-off-by: Adam Jackson --- 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