summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-04-29 10:55:30 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-04-30 11:26:38 -1000
commit6e48c3e4e8a5b7b8a9f088a4713ae02abecb751a (patch)
tree0ea1763bd8d6a7f2dc98655267f55d13a45442ef /Makefile
parentea1f22b7c4d83351b0fc7d97c462f0a494764601 (diff)
Add %{?dist} to the release number in the spec file.
We never change the release number when making a release from git, but it would be useful to start having the dist tag in the release field so when people report bugs we can easily identify the product they are using.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3db23472d..332f4538a 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@
include Makefile.inc
VERSION := $(shell awk '/Version:/ { print $$2 }' anaconda.spec)
-RELEASE := $(shell awk '/Release:/ { print $$2 }' anaconda.spec)
+RELEASE := $(shell awk '/Release:/ { split($$2, r, "%"); print r[1] }' anaconda.spec)
CVSROOT ?= ${CVSROOT:-$(shell cat CVS/Root 2>/dev/null)}
SUBDIRS = isys loader po booty \