public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: [dts+el7] [x86*] Bundle libipt - fix#3 its initialization (RH BZ 1256513).
@ 2026-06-27 23:57 Jan Kratochvil
  0 siblings, 0 replies; only message in thread
From: Jan Kratochvil @ 2026-06-27 23:57 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : efdba24c8f9c2b4aed59624ac5a68132cc93a035
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2016-08-23T09:52:01+02:00
Stats  : +8/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/efdba24c8f9c2b4aed59624ac5a68132cc93a035?branch=gdb-17.2-rebase-f44

Log:
[dts+el7] [x86*] Bundle libipt - fix#3 its initialization (RH BZ 1256513).

---
diff --git a/gdb.spec b/gdb.spec
index 9cba9e5..1bb7702 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -27,7 +27,7 @@ Version: 7.11.1
 
 # 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: 82%{?dist}
+Release: 83%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain and GFDL
 Group: Development/Debuggers
@@ -630,7 +630,7 @@ BuildRequires: guile-devel%{buildisa}
 %if 0%{!?rhel:1} || 0%{?rhel} > 7 || (0%{?rhel} == 7 && 0%{?scl:1})
 %ifarch %{ix86} x86_64
 %global have_libipt 1
-%if 0%{?scl:1}
+%if 0%{?el7:1} && 0%{?scl:1}
 BuildRequires: cmake
 %else
 BuildRequires: libipt-devel%{buildisa}
@@ -767,7 +767,7 @@ This package provides INFO, HTML and PDF user manual for GDB.
 tar xJf %{SOURCE5}
 %endif # 0%{?rhel:1} && 0%{?rhel} <= 7
 
-%if 0%{have_libipt} && 0%{?scl:1}
+%if 0%{have_libipt} && 0%{?el7:1} && 0%{?scl:1}
 tar xzf %{SOURCE7}
 (
  cd processor-trace-%{libipt_version}
@@ -981,7 +981,7 @@ CFLAGS="$CFLAGS -DGDB_INDEX_VERIFY_VENDOR"
 %endif
 
 # [dts+el7] [x86*] Bundle linux_perf.h for libipt (RH BZ 1256513).
-%if 0%{?el7:1} && 0%{?scl:1}
+%if %{have_libipt} && 0%{?el7:1} && 0%{?scl:1}
 CFLAGS="$CFLAGS -DPERF_ATTR_SIZE_VER5_BUNDLE"
 %endif
 
@@ -996,7 +996,7 @@ CFLAGS="$CFLAGS -DNEED_RL_STATE_FEDORA_GDB"
 CFLAGS="$CFLAGS -DNEED_DETACH_SIGSTOP"
 %endif
 
-%if 0%{have_libipt} && 0%{?scl:1}
+%if 0%{have_libipt} && 0%{?el7:1} && 0%{?scl:1}
 (
  mkdir processor-trace-%{libipt_version}-root
  mkdir processor-trace-%{libipt_version}-build
@@ -1457,6 +1457,9 @@ then
 fi
 
 %changelog
+* Tue Aug 23 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11.1-83.fc24
+- [dts+el7] [x86*] Bundle libipt - fix#3 its initialization (RH BZ 1256513).
+
 * Tue Aug 23 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11.1-82.fc24
 - [dts+el7] [x86*] Bundle libipt - fix#2 its initialization (RH BZ 1256513).
 

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

only message in thread, other threads:[~2026-06-27 23:57 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:57 [rpms/gdb] gdb-17.2-rebase-f44: [dts+el7] [x86*] Bundle libipt - fix#3 its initialization (RH BZ 1256513) Jan Kratochvil

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