From: Barış Metin Date: Wed, 14 Apr 2010 13:16:45 +0000 (+0000) Subject: use MD5 and gzip for binary and source rpms. this doesn't change X-Git-Tag: 5.0-rc6~12 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=75154303fcba40e745c2e80c13154d8b7595f25d;p=build.git 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. --- 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