public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: [RHEL] Fix --with-auto-load-safe-path systems prior to /usr move.
@ 2026-06-27 23:55 Jan Kratochvil
  0 siblings, 0 replies; only message in thread
From: Jan Kratochvil @ 2026-06-27 23:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : bd04ff004177ebe9676d6f2279490653cde66e47
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2012-04-18T20:16:36+02:00
Stats  : +14/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/bd04ff004177ebe9676d6f2279490653cde66e47?branch=gdb-17.2-rebase-f44

Log:
[RHEL] Fix --with-auto-load-safe-path systems prior to /usr move.

---
diff --git a/gdb.spec b/gdb.spec
index 667d5df..1a29c69 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -33,7 +33,7 @@ Version: 7.4.50.%{snap}
 
 # The release always contains a leading reserved number, start it at 1.
 # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 40%{?dist}
+Release: 41%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain
 Group: Development/Debuggers
@@ -981,9 +981,9 @@ export CFLAGS="$RPM_OPT_FLAGS"
 	--disable-rpath						\
 %if 0%{!?rhel:1} || 0%{?rhel} > 6
 	--with-system-readline					\
-%else # 0%{!?rhel:1} || 0%{?rhel} > 6
+%else
 	--without-system-readline				\
-%endif # 0%{!?rhel:1} || 0%{?rhel} > 6
+%endif
 	--with-expat						\
 $(: ppc64 host build crashes on ppc variant of libexpat.so )	\
 	--without-libexpat-prefix				\
@@ -998,7 +998,7 @@ $(: RHEL-5 librpm has incompatible API. )			\
 %if 0%{?el5:1}
 	--without-rpm						\
 %else
-%if 0%{?el6:1} || (0%{?fedora} && 0%{?fedora} <= 14)
+%if 0%{?el6:1}
 	--with-rpm=librpm.so.1					\
 %else
 	--with-rpm=librpm.so.2					\
@@ -1015,10 +1015,14 @@ $(: RHEL-5 librpm has incompatible API. )			\
 	--enable-64-bit-bfd					\
 %if %{have_inproctrace}
 	--enable-inprocess-agent				\
-%else # !%{have_inproctrace}
+%else
 	--disable-inprocess-agent				\
-%endif # !%{have_inproctrace}
-	--with-auto-load-safe-path=%{_prefix}			\
+%endif
+%if 0%{!?rhel:1} || 0%{?rhel} > 6
+	--with-auto-load-safe-path=%{_root_prefix}%{?scl::%{_scl_root}}				\
+%else
+	--with-auto-load-safe-path=%{_root_prefix}:/bin:/sbin:/lib:/lib64%{?scl::%{_scl_root}}	\
+%endif
 %ifarch sparc sparcv9
 	sparc-%{_vendor}-%{_target_os}%{?_gnu}
 %else
@@ -1379,6 +1383,9 @@ fi
 %endif # 0%{!?el5:1} || "%{_target_cpu}" == "noarch"
 
 %changelog
+* Wed Apr 18 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120120-41.fc17
+- [RHEL] Fix --with-auto-load-safe-path systems prior to /usr move.
+
 * Wed Apr 18 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120120-40.fc17
 - Security fix for loading untrusted inferiors, see "set auto-load" (BZ 756117).
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-27 23:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-27 23:55 [rpms/gdb] gdb-17.2-rebase-f44: [RHEL] Fix --with-auto-load-safe-path systems prior to /usr move Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox