From 9dda60e0b68d6207d206723566a1bf37e72c3278 Mon Sep 17 00:00:00 2001 From: roland Date: Mon, 17 Jul 2006 08:26:47 +0000 Subject: [PATCH] Fix nits for portable rpm build. --- Makefile | 2 +- elfutils.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index db95eaf..f8eb08e 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ elfutils-portable.spec: elfutils.spec (echo '%define _with_compat 1'; cat $<) > $@.new mv -f $@.new $@ -portable-vr = $(VERSION)-0.$(RELEASE) +portable-vr = $(VERSION)-0.$(subst $(DIST),,$(RELEASE)) portable.srpm = elfutils-$(portable-vr).src.rpm $(portable.srpm): elfutils-portable.spec elfutils-portability.patch \ elfutils-$(VERSION).tar.gz diff --git a/elfutils.spec b/elfutils.spec index 4ac8b65..b4d6c55 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -13,7 +13,7 @@ Version: %{eu_version} %if !%{compat} Release: %{eu_release}%{?dist} %else -Release: 0.%{eu_release}.1 +Release: 0.%{eu_release} %endif License: GPL Group: Development/Tools