summaryrefslogtreecommitdiff
path: root/fedora
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-12-20 23:31:56 +0000
committerRoland McGrath <roland@gnu.org>2004-12-20 23:31:56 +0000
commit4b7c20f9d470e4fb3d80ff9e16acf1a46d963aee (patch)
treee88486a18e3f7219e5417840ad309ae8e5fee692 /fedora
parent9b36a8652579a3242051137295d43b193b7b41ac (diff)
emit glibcname in glibc.spec
Diffstat (limited to 'fedora')
-rw-r--r--fedora/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/fedora/Makefile b/fedora/Makefile
index 1482a86e05..6a6cc189bb 100644
--- a/fedora/Makefile
+++ b/fedora/Makefile
@@ -48,8 +48,9 @@ snapshot-time: branch.mk
commit-merge:
cd ..; cvs -Q commit -m"Updated to $(snapshot-id)"
-glibc.spec: glibc.spec.in ../version.h branch.mk
+glibc.spec: glibc.spec.in ../version.h branch.mk Makefile
(echo '%define glibcdate $(snapshot-name)'; \
+ echo '%define glibcname $(tar-name)'; \
sed -n '/VERSION/s/^.*"\([^"]*\)"$$/%define glibcversion \1/p' \
../version.h; \
cat $<) > $@.new