diff options
author | Dennis Gilmore <dennis@ausil.us> | 2010-02-18 11:42:34 -0600 |
---|---|---|
committer | Dennis Gilmore <dennis@ausil.us> | 2010-02-18 11:42:34 -0600 |
commit | 00942bbf43f0a5c248671e687ea9fd5bec21ea13 (patch) | |
tree | 2f676add5d1b0cc2fb8229753232855b7e973654 /src | |
parent | 418db91d1545c13c0d04773e55617d275a176f09 (diff) | |
download | fedora-packager-00942bbf43f0a5c248671e687ea9fd5bec21ea13.tar.gz fedora-packager-00942bbf43f0a5c248671e687ea9fd5bec21ea13.tar.xz fedora-packager-00942bbf43f0a5c248671e687ea9fd5bec21ea13.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/rpmbuild-md5 | 4 |
1 files 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" "$@" |