summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-09-22 21:48:09 +0000
committerRoland McGrath <roland@gnu.org>2004-09-22 21:48:09 +0000
commita343cb0f24c70b6c1262f9cddaf6d6a9bd68dd59 (patch)
treeec0c64f87ae810e0abc7e41d9432e054784bde60
parentb9bdb95c3fb1bcc703d5f8421f8d712a7f2c1140 (diff)
downloadglibc-a343cb0f24c70b6c1262f9cddaf6d6a9bd68dd59.tar.gz
glibc-a343cb0f24c70b6c1262f9cddaf6d6a9bd68dd59.tar.xz
glibc-a343cb0f24c70b6c1262f9cddaf6d6a9bd68dd59.zip
(spec-nvr): only get the first one
-rw-r--r--fedora/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/fedora/Makefile b/fedora/Makefile
index ab8b4b05e8..ba66904f56 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