aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2008-09-16 11:42:48 +0200
committerHarald Hoyer <harald@redhat.com>2008-09-16 11:45:22 +0200
commit6a6e9b2d8f9dfd1f8acee86b8c835d008d5e6007 (patch)
tree3865081f7c8475c425f5f0da171b7aa20be60d8d
parent427db7a82925a46c080c100dc9954fe1ecb8c949 (diff)
downloadinitscripts-8.45.20-1.tar
initscripts-8.45.20-1.tar.gz
initscripts-8.45.20-1.tar.bz2
initscripts-8.45.20-1.tar.xz
initscripts-8.45.20-1.zip
ignore %{?dist} in releaseinitscripts-8.45.20-1
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)