From 6a6e9b2d8f9dfd1f8acee86b8c835d008d5e6007 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 16 Sep 2008 11:42:48 +0200 Subject: ignore %{?dist} in release --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 65855825..dc40785d 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ SUPERUSER=root SUPERGROUP=root VERSION := $(shell awk '/Version:/ { print $$2 }' initscripts.spec) -RELEASE := $(shell awk '/Release:/ { print $$2 }' initscripts.spec) +RELEASE := $(subst %{?dist},,$(shell awk '/Release:/ { print $$2 }' initscripts.spec)) TAG=initscripts-$(VERSION)-$(RELEASE) ARCH = $(shell uname -m) -- cgit v1.2.1