public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Fix librpm version dependency (for RH BZ 1249325, from Igor Gnatenko).
@ 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 : e18a36d3662f409a134540ac420e75dca489a053
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2015-08-02T09:43:44+02:00
Stats  : +11/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/e18a36d3662f409a134540ac420e75dca489a053?branch=gdb-17.2-rebase-f44

Log:
Fix librpm version dependency (for RH BZ 1249325, from Igor Gnatenko).

---
diff --git a/gdb.spec b/gdb.spec
index 56ad8e9..928fcbd 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -26,7 +26,7 @@ Version: 7.9.90.20150717
 
 # 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: 8%{?dist}
+Release: 9%{?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
@@ -80,8 +80,13 @@ Recommends: dnf-command(debuginfo-install)
 %else
 %global librpmver 7
 %endif
-BuildRequires: %{_libdir}/librpm.so.%{librpmver}
-Recommends: rpm-libs%{?_isa}
+%if %{__isa_bits} == 64
+%global librpmname librpm.so.%{librpmver}()(64bit)
+%else
+%global librpmname librpm.so.%{librpmver}
+%endif
+BuildRequires: %{librpmname}
+Recommends: %{librpmname}
 
 # GDB patches have the format `gdb-<version>-bz<red-hat-bz-#>-<desc>.patch'.
 # They should be created using patch level 1: diff -up ./gdb (or gdb-6.3/gdb).
@@ -1316,6 +1321,9 @@ then
 fi
 
 %changelog
+* Sun Aug  2 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.90.20150717-9.fc23
+- Fix librpm version dependency (for RH BZ 1249325, from Igor Gnatenko).
+
 * Sat Aug  1 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.90.20150717-8.fc23
 - Fix librpm version 3->7 for Rawhide
   (RH BZ 1249325, bugreport by Zbigniew Jędrzejewski-Szmek).

^ 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: Fix librpm version dependency (for RH BZ 1249325, from Igor Gnatenko) Jan Kratochvil

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