Fix nits for portable rpm build.
This commit is contained in:
parent
90384aadb6
commit
9dda60e0b6
2
Makefile
2
Makefile
@ -21,7 +21,7 @@ elfutils-portable.spec: elfutils.spec
|
|||||||
(echo '%define _with_compat 1'; cat $<) > $@.new
|
(echo '%define _with_compat 1'; cat $<) > $@.new
|
||||||
mv -f $@.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-vr).src.rpm
|
||||||
$(portable.srpm): elfutils-portable.spec elfutils-portability.patch \
|
$(portable.srpm): elfutils-portable.spec elfutils-portability.patch \
|
||||||
elfutils-$(VERSION).tar.gz
|
elfutils-$(VERSION).tar.gz
|
||||||
|
@ -13,7 +13,7 @@ Version: %{eu_version}
|
|||||||
%if !%{compat}
|
%if !%{compat}
|
||||||
Release: %{eu_release}%{?dist}
|
Release: %{eu_release}%{?dist}
|
||||||
%else
|
%else
|
||||||
Release: 0.%{eu_release}.1
|
Release: 0.%{eu_release}
|
||||||
%endif
|
%endif
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
|
Loading…
Reference in New Issue
Block a user