From 6878c218607065496fd9d43456db5d6483124097 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 19 Aug 2014 12:37:54 +0100 Subject: [PATCH] Enable deterministic archives by default. Resolves: BZ #1124342 --- binutils.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/binutils.spec b/binutils.spec index 143069e..98855eb 100644 --- a/binutils.spec +++ b/binutils.spec @@ -13,11 +13,13 @@ %define isnative 0 %define enable_shared 0 %endif +# BZ 1124342: Enable deterministic archives by default. +%define enable_deterministic_archives 1 Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.24 -Release: 19%{?dist} +Release: 20%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -277,6 +279,9 @@ CFLAGS="$CFLAGS -O0 -ggdb2 -Wno-error -D_FORTIFY_SOURCE=0" --enable-shared \ %else --disable-shared \ +%endif +%if %{enable_deterministic_archives} + --enable-deterministic-archives \ %endif $CARGS \ --enable-plugins \ @@ -502,6 +507,10 @@ exit 0 %endif # %{isnative} %changelog +* Tue Aug 19 2014 Nick Clifton - 2.24-20 +- Enable deterministic archives by default. + Resolves: BZ #1124342 + * Fri Aug 15 2014 Fedora Release Engineering - 2.24-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild