From 00942bbf43f0a5c248671e687ea9fd5bec21ea13 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 18 Feb 2010 11:42:34 -0600 Subject: from Panu Matilainen Use correct value for *_filedigest_algorithm macros The algorithm value is numeric, supported values are explained in /usr/lib/rpm/macros file. "md5" string only works by luck, as its numeric evaluation becomes 0 which is an unknown value to rpm, which causes it to default to md5. --- src/rpmbuild-md5 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpmbuild-md5 b/src/rpmbuild-md5 index 04c9307..aefe04d 100644 --- a/src/rpmbuild-md5 +++ b/src/rpmbuild-md5 @@ -1,6 +1,6 @@ #!/bin/bash -rpmbuild --define "_source_filedigest_algorithm md5" \ - --define "_binary_filedigest_algorithm md5" \ +rpmbuild --define "_source_filedigest_algorithm 1" \ + --define "_binary_filedigest_algorithm 1" \ --define "_binary_payload w9.gzdio" \ --define "_source_payload w9.gzdio" \ --define "_default_patch_fuzz 2" "$@" -- cgit