Fix nits for portable rpm build.

This commit is contained in:
roland 2006-07-17 08:26:47 +00:00
parent 90384aadb6
commit 9dda60e0b6
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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