Fix location of gprofng.rc
/usr/etc does not conform to our packaging guidelines, which are based on the Filesystem Hierarchy Standard.
This commit is contained in:
parent
62f9165a13
commit
173d8ce283
@ -2,7 +2,7 @@
|
|||||||
Summary: A GNU collection of binary utilities
|
Summary: A GNU collection of binary utilities
|
||||||
Name: binutils%{?_with_debug:-debug}
|
Name: binutils%{?_with_debug:-debug}
|
||||||
Version: 2.41
|
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
|
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
|
URL: https://sourceware.org/binutils
|
||||||
|
|
||||||
@ -769,7 +769,8 @@ run_target_configuration()
|
|||||||
# Set up the sysroot and paths.
|
# Set up the sysroot and paths.
|
||||||
SARGS="--with-sysroot=/ \
|
SARGS="--with-sysroot=/ \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--libdir=%{_libdir}"
|
--libdir=%{_libdir} \
|
||||||
|
--sysconfdir=%{_sysconfdir}"
|
||||||
%if %{with gold}
|
%if %{with gold}
|
||||||
SARGS="$SARGS --enable-gold=default"
|
SARGS="$SARGS --enable-gold=default"
|
||||||
%else
|
%else
|
||||||
@ -789,6 +790,7 @@ run_target_configuration()
|
|||||||
--prefix=%{_prefix}/$target \
|
--prefix=%{_prefix}/$target \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
--exec-prefix=%{_usr} \
|
--exec-prefix=%{_usr} \
|
||||||
|
--sysconfdir=%{_sysconfdir} \
|
||||||
--disable-gold"
|
--disable-gold"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -1298,7 +1300,7 @@ exit 0
|
|||||||
%{_infodir}/gprofng.info.*
|
%{_infodir}/gprofng.info.*
|
||||||
%dir %{_libdir}/gprofng
|
%dir %{_libdir}/gprofng
|
||||||
%{_libdir}/gprofng/*
|
%{_libdir}/gprofng/*
|
||||||
%{_prefix}%{_sysconfdir}/gprofng.rc
|
%{_sysconfdir}/gprofng.rc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with crossbuilds}
|
%if %{with crossbuilds}
|
||||||
@ -1331,6 +1333,9 @@ exit 0
|
|||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 04 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 2.41-21
|
||||||
|
- Fix location of gprofng.rc
|
||||||
|
|
||||||
* Thu Jan 04 2024 Nick Clifton <nickc@redhat.com> - 2.41-20
|
* Thu Jan 04 2024 Nick Clifton <nickc@redhat.com> - 2.41-20
|
||||||
- Fix SPDX annotation.
|
- Fix SPDX annotation.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user