From: Roland McGrath Date: Wed, 22 Sep 2004 21:48:09 +0000 (+0000) Subject: (spec-nvr): only get the first one X-Git-Tag: cvs/fedora-glibc-2_3_3-55~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a343cb0f24c70b6c1262f9cddaf6d6a9bd68dd59;p=thirdparty%2Fglibc.git (spec-nvr): only get the first one --- diff --git a/fedora/Makefile b/fedora/Makefile index ab8b4b05e82..ba66904f562 100644 --- a/fedora/Makefile +++ b/fedora/Makefile @@ -57,7 +57,7 @@ glibc.spec: glibc.spec.in ../version.h branch.mk mv -f $@.new $@ spec-nvr := $(shell rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}\n' \ - --specfile glibc.spec) + --specfile glibc.spec | sed 1q) spec-tag = $(subst .,_,$(spec-nvr)) tag: glibc.spec