From: Roland McGrath Date: Thu, 10 Feb 2005 10:31:40 +0000 (+0000) Subject: (dist-import): Put md5sums in timestamp file. X-Git-Tag: cvs/fedora-glibc-2_3_4-8~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79ed5577b8133f9c540425cd265b727399cdd219;p=thirdparty%2Fglibc.git (dist-import): Put md5sums in timestamp file. --- diff --git a/fedora/Makefile b/fedora/Makefile index 0d86870a2b6..11a6e395ddb 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)'