updated after planetlab syncs up with 5.0
[build.git] / Makefile
index bb97420..a41537c 100644 (file)
--- a/Makefile
+++ b/Makefile
 ####################
 
 # exported to spec files as plrelease
-PLANETLAB_RELEASE = 4.3
+PLANETLAB_RELEASE = 5.0
 
 #
 # Default values
@@ -147,7 +147,7 @@ include $(PLDISTROCONTENTS)
 
 #################### include <pldistro>-tags.mk
 # describes where to fetch components, and the related tags if using cvs
-ifeq "$PLDISTROTAGS" ""
+ifeq "$(PLDISTROTAGS)" ""
 PLDISTROTAGS := $(PLDISTRO)-tags.mk
 endif
 include $(PLDISTROTAGS)
@@ -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