aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-02 09:39:36 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-06-21 12:50:41 +0200
commit7e8bcef962c02c58cf4a068bcb43a883d016204a (patch)
tree3eee54f7d5481b322ad99c90425d2c345654f276
parent58480c63c689ee93f5f5693027920269b29b901d (diff)
downloadrpm-setup-7e8bcef962c02c58cf4a068bcb43a883d016204a.tar
rpm-setup-7e8bcef962c02c58cf4a068bcb43a883d016204a.tar.gz
rpm-setup-7e8bcef962c02c58cf4a068bcb43a883d016204a.tar.bz2
rpm-setup-7e8bcef962c02c58cf4a068bcb43a883d016204a.tar.xz
rpm-setup-7e8bcef962c02c58cf4a068bcb43a883d016204a.zip
change file digests hashing algorithm to SHA-256
see https://fedoraproject.org/wiki/Features/StrongerHashes
-rw-r--r--NEWS1
-rw-r--r--build.macros.in4
2 files changed, 5 insertions, 0 deletions
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
#