From 75154303fcba40e745c2e80c13154d8b7595f25d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Wed, 14 Apr 2010 13:16:45 +0000 Subject: [PATCH] use MD5 and gzip for binary and source rpms. this doesn't change anything for f8 and centos5 builds, but make f12 rpms compatible with older rpm versions. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 2c819784..a41537c3 100644 --- a/Makefile +++ b/Makefile @@ -315,6 +315,11 @@ header.spec: echo "%define distroname $(DISTRONAME)" >> $@ echo "%define pldistro $(PLDISTRO)" >> $@ echo "%define plrelease $(PLANETLAB_RELEASE)" >> $@ + echo "# use MD5 and gzip for binary and source files" << $@ + echo "%global _binary_filedigest_algorithm 1" >> $@ + echo "%global _source_filedigest_algorithm 1" >> $@ + echo "%global _source_payload w9.gzdio" >> $@ + echo "%global _binary_payload w9.gzdio" >> $@ ### extract spec file from scm define target_spec -- 2.47.0