From e2a80f379c269762117b406a9a078062760f2b0d Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 22 Jan 2010 15:07:55 +0200 Subject: [PATCH] =?UTF-8?q?Change=20default=20hashing=20algorithm=20in=20f?= =?UTF-8?q?ile=20digests=20to=20SHA-256=20(#485826)=20-=20as=20per=20https?= =?UTF-8?q?://fedoraproject.org/wiki/Features/StrongerHashes=20-=20patch?= =?UTF-8?q?=20from=20=20Miloslav=20Trma=C4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- macros | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/macros b/macros index 55bd639..16caca9 100644 --- a/macros +++ b/macros @@ -158,6 +158,10 @@ unset DISPLAY\ # Should unpackaged files in a build root terminate a build? %_unpackaged_files_terminate_build 1 +# Use SHA-256 for FILEDIGESTS instead of default MD5 +%_source_filedigest_algorithm 8 +%_binary_filedigest_algorithm 8 + %__find_provides /usr/lib/rpm/redhat/find-provides %__find_requires /usr/lib/rpm/redhat/find-requires