use MD5 and gzip for binary and source rpms. this doesn't change
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Wed, 14 Apr 2010 13:16:45 +0000 (13:16 +0000)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Wed, 14 Apr 2010 13:16:45 +0000 (13:16 +0000)
anything for f8 and centos5 builds, but make f12 rpms compatible with
older rpm versions.

Makefile

index 2c81978..a41537c 100644 (file)
--- 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