From d898f00d3341591d3a2eea85ab5e76cdd68c7072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Tue, 27 Sep 2016 08:49:17 +0200 Subject: [PATCH] Create git tags without release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For upstream releases we should not need that level of granularity, major.minor.patch version should be enough. This change will make the tags simpler for consumers especially by removing the dist tag that adds no value whatsoever. Fixes: #407 Signed-off-by: Lubomír Sedlář --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7747c349..b47d02b3 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ PKGNAME=pungi VERSION=$(shell rpm -q --qf "%{VERSION}\n" --specfile ${PKGNAME}.spec) RELEASE=$(shell rpm -q --qf "%{RELEASE}\n" --specfile ${PKGNAME}.spec) -GITTAG=${PKGNAME}-$(VERSION)-$(RELEASE) +GITTAG=${PKGNAME}-$(VERSION) PKGRPMFLAGS=--define "_topdir ${PWD}" --define "_specdir ${PWD}" --define "_sourcedir ${PWD}/dist" --define "_srcrpmdir ${PWD}" --define "_rpmdir ${PWD}" --define "_builddir ${PWD}" RPM="noarch/${PKGNAME}-$(VERSION)-$(RELEASE).noarch.rpm"