summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-02-10 10:31:40 +0000
committerRoland McGrath <roland@gnu.org>2005-02-10 10:31:40 +0000
commit79ed5577b8133f9c540425cd265b727399cdd219 (patch)
treeff4e63cf2898308fc1c73d77c346aed906e35ffe
parent0bac9ce531431289734ffc3609ad6aa7a3e89039 (diff)
(dist-import): Put md5sums in timestamp file.
-rw-r--r--fedora/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/fedora/Makefile b/fedora/Makefile
index 0d86870a2b..11a6e395dd 100644
--- a/fedora/Makefile
+++ b/fedora/Makefile
@@ -142,7 +142,8 @@ bhc-url = $(bhc-baseurl)/glibc/$(DIST_BRANCH)#$(spec-tag)
dist-import: $(spec-nvr).src.rpm
$(DIST_COMMON)/cvs-import.sh -b $(DIST_BRANCH) $<
- ls -l $< > $@
+ rpm -qp $< --queryformat '[%{FILEMD5S} %{FILENAMES}\n]' > $@.new
+ mv -f $@.new $@
dist-build: dist-import
bhc $(BHC_FLAGS) $(COLLECTION) '$(bhc-url)'