rpms/redhat-rpm-config/devel redhat-rpm-config-9.0.3-F-11-StrongerHashes.patch, NONE, 1.1 redhat-rpm-config.spec, 1.60, 1.61

Jon Masters jcm at fedoraproject.org
Mon Feb 23 17:52:47 UTC 2009


Author: jcm

Update of /cvs/pkgs/rpms/redhat-rpm-config/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16428

Modified Files:
	redhat-rpm-config.spec 
Added Files:
	redhat-rpm-config-9.0.3-F-11-StrongerHashes.patch 
Log Message:
Change default hashing algorithm on file digests to SHA-256.
Resolves: #485826.


redhat-rpm-config-9.0.3-F-11-StrongerHashes.patch:

--- NEW FILE redhat-rpm-config-9.0.3-F-11-StrongerHashes.patch ---
diff -urNp redhat-rpm-config-9.0.3_orig/macros redhat-rpm-config-9.0.3/macros
--- redhat-rpm-config-9.0.3_orig/macros	2009-02-23 12:40:33.000000000 -0500
+++ redhat-rpm-config-9.0.3/macros	2009-02-23 12:47:04.000000000 -0500
@@ -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
 


Index: redhat-rpm-config.spec
===================================================================
RCS file: /cvs/pkgs/rpms/redhat-rpm-config/devel/redhat-rpm-config.spec,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- redhat-rpm-config.spec	17 Feb 2009 20:43:27 -0000	1.60
+++ redhat-rpm-config.spec	23 Feb 2009 17:52:17 -0000	1.61
@@ -1,7 +1,7 @@
 Summary: Red Hat specific rpm configuration files.
 Name: redhat-rpm-config
 Version: 9.0.3
-Release: 6%{?dist}
+Release: 7%{?dist}
 # No version specified.
 License: GPL+
 Group: Development/System
@@ -9,6 +9,7 @@
 Patch0: redhat-rpm-config-9.0.3-fix-requires.patch
 Patch1: limit-smp-16-threads.patch
 Patch2: redhat-rpm-config-9.0.3-F-11-Architectures.patch
+Patch3: redhat-rpm-config-9.0.3-F-11-StrongerHashes.patch
 BuildArch: noarch
 Requires: mktemp
 BuildRoot: %{_tmppath}/%{name}-root
@@ -21,6 +22,7 @@
 %patch0 -p0
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %install
 make DESTDIR=${RPM_BUILD_ROOT} install
@@ -33,6 +35,10 @@
 %{_prefix}/lib/rpm/redhat
 
 %changelog
+* Mon Feb 23 2009 Jon Masters <jcm at redhat.com> - 9.0.3-7
+- Change default hashing algorithm in file digests to SHA-256
+- Resolves: #485826.
+
 * Tue Feb 17 2009 Dennis Gilmore <dennis at ausil.us> - 9.0.3-6
 - add missing armv7l arch  
 - set the default build arch to match fedora arm build target




More information about the scm-commits mailing list