summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)'