From 173d8ce283e8ef17c97b7120f7196c940041e005 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Jan 04 2024 20:16:04 +0000 Subject: Fix location of gprofng.rc /usr/etc does not conform to our packaging guidelines, which are based on the Filesystem Hierarchy Standard. --- diff --git a/binutils.spec b/binutils.spec index 190c776..c24c2f3 100644 --- a/binutils.spec +++ b/binutils.spec @@ -2,7 +2,7 @@ Summary: A GNU collection of binary utilities Name: binutils%{?_with_debug:-debug} Version: 2.41 -Release: 20%{?dist} +Release: 21%{?dist} License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later URL: https://sourceware.org/binutils @@ -769,7 +769,8 @@ run_target_configuration() # Set up the sysroot and paths. SARGS="--with-sysroot=/ \ --prefix=%{_prefix} \ - --libdir=%{_libdir}" + --libdir=%{_libdir} \ + --sysconfdir=%{_sysconfdir}" %if %{with gold} SARGS="$SARGS --enable-gold=default" %else @@ -789,6 +790,7 @@ run_target_configuration() --prefix=%{_prefix}/$target \ --libdir=%{_libdir} \ --exec-prefix=%{_usr} \ + --sysconfdir=%{_sysconfdir} \ --disable-gold" fi @@ -1298,7 +1300,7 @@ exit 0 %{_infodir}/gprofng.info.* %dir %{_libdir}/gprofng %{_libdir}/gprofng/* -%{_prefix}%{_sysconfdir}/gprofng.rc +%{_sysconfdir}/gprofng.rc %endif %if %{with crossbuilds} @@ -1331,6 +1333,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Thu Jan 04 2024 Yaakov Selkowitz - 2.41-21 +- Fix location of gprofng.rc + * Thu Jan 04 2024 Nick Clifton - 2.41-20 - Fix SPDX annotation.