public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Fix install-info for the gdb-doc subpackage (BZ 715228).
@ 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 : 847a670287bbe643b6a88e7ede4cd19712f99e63
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2011-06-24T12:20:35+02:00
Stats  : +9/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/847a670287bbe643b6a88e7ede4cd19712f99e63?branch=gdb-17.2-rebase-f44

Log:
Fix install-info for the gdb-doc subpackage (BZ 715228).

---
diff --git a/gdb.spec b/gdb.spec
index fca9343..25a832d 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -27,7 +27,7 @@ Version: 7.2.90.20110525
 
 # 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: 38%{?_with_upstream:.upstream}%{?dist}
+Release: 39%{?_with_upstream:.upstream}%{?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
@@ -665,9 +665,6 @@ Requires: libunwind >= 0.96-3
 %endif
 %endif
 
-Requires(post): /sbin/install-info
-Requires(preun): /sbin/install-info
-
 %description
 GDB, the GNU debugger, allows you to debug programs written in C, C++,
 Java, and other languages, by executing them in a controlled fashion
@@ -700,6 +697,9 @@ and printing their data.
 
 This package provides INFO, HTML and PDF user manual for GDB.
 
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
+
 %prep
 
 # This allows the tarball name to be different from our
@@ -1201,7 +1201,7 @@ ln -s gstack $RPM_BUILD_ROOT%{_bindir}/pstack
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
+%post doc
 # This step is part of the installation of the RPM. Not to be confused
 # with the 'make install ' of the build (rpmbuild) process.
 
@@ -1212,7 +1212,7 @@ then
   /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
 fi
 
-%preun
+%preun doc
 if [ $1 = 0 ]
 then
   # For --excludedocs:
@@ -1265,6 +1265,9 @@ fi
 %{_infodir}/gdb.info*
 
 %changelog
+* Fri Jun 24 2011 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.90.20110525-39.fc15
+- Fix install-info for the gdb-doc subpackage (BZ 715228).
+
 * Wed May 25 2011 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.90.20110525-38.fc15
 - Rebase to FSF GDB 7.2.90.20110525 (which is a 7.3 pre-release).
 - [stap] Fix double free (Sergio Durigan Junior).

^ 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: Fix install-info for the gdb-doc subpackage (BZ 715228) Jan Kratochvil

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