]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(spec-nvr): only get the first one
authorRoland McGrath <roland@gnu.org>
Wed, 22 Sep 2004 21:48:09 +0000 (21:48 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 22 Sep 2004 21:48:09 +0000 (21:48 +0000)
fedora/Makefile

index ab8b4b05e8216e9c9e03a39cfea08dc8acb63f3d..ba66904f562fffc82ceb5c85c1c49c7946de7dbe 100644 (file)
@@ -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