public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: [RHEL] Fix --with-auto-load-safe-path systems prior to /usr move.
Date: Sat, 27 Jun 2026 23:55:36 GMT	[thread overview]
Message-ID: <178260453692.1.11686950611241845932.rpms-gdb-bd04ff004177@fedoraproject.org> (raw)

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).
 

                 reply	other threads:[~2026-06-27 23:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178260453692.1.11686950611241845932.rpms-gdb-bd04ff004177@fedoraproject.org \
    --to=jan.kratochvil@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox