]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(dist-import): Put md5sums in timestamp file.
authorRoland McGrath <roland@gnu.org>
Thu, 10 Feb 2005 10:31:40 +0000 (10:31 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 10 Feb 2005 10:31:40 +0000 (10:31 +0000)
fedora/Makefile

index 0d86870a2b61c38937cbd0fe69e0ed45e60a8f68..11a6e395ddbb65e2fa6b1bfc826e399efdd5a742 100644 (file)
@@ -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)'