From 7e8bcef962c02c58cf4a068bcb43a883d016204a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 2 May 2015 09:39:36 +0200 Subject: change file digests hashing algorithm to SHA-256 see https://fedoraproject.org/wiki/Features/StrongerHashes --- NEWS | 1 + build.macros.in | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index 2c03071..a99f05d 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +- change file digests hashing algorithm to SHA-256 - kill obsolete %defaultbuildroot - kill old %__find_(provides|requires) - kill redondant/unmainted macro (mga#4927) diff --git a/build.macros.in b/build.macros.in index 40d1a4d..7895c6f 100644 --- a/build.macros.in +++ b/build.macros.in @@ -144,6 +144,10 @@ GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` %{_gconftool_bin} - # %_include_minidebuginfo 1 +# Use SHA-256 for FILEDIGESTS instead of default MD5 +%_source_filedigest_algorithm 8 +%_binary_filedigest_algorithm 8 + #------------------------------------------------------------------------------ # definions merged from manbo-setup-build # -- cgit v1.2.1