public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Do not run /sbin/install-info when installing the documentation
@ 2026-06-27 23:58 Sergio Durigan Junior
0 siblings, 0 replies; only message in thread
From: Sergio Durigan Junior @ 2026-06-27 23:58 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 4f2cb1818a5eb16d68088be831d0d001a6a97ced
Author : Sergio Durigan Junior <sergiodj@redhat.com>
Date : 2018-06-18T13:47:30-04:00
Stats : +16/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gdb/c/4f2cb1818a5eb16d68088be831d0d001a6a97ced?branch=gdb-17.2-rebase-f44
Log:
Do not run /sbin/install-info when installing the documentation
(except for DTS).
---
diff --git a/gdb.spec b/gdb.spec
index b9a97ae..caa527a 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -26,7 +26,7 @@ Version: 8.1.50.%{snapsrc}
# 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: 21%{?dist}
+Release: 22%{?dist}
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
Group: Development/Debuggers
@@ -386,8 +386,13 @@ Summary: Documentation for GDB (the GNU source-level debugger)
License: GFDL
Group: Documentation
BuildArch: noarch
+%if 0%{?scl:1}
+# As of F-28, packages won't need to call /sbin/install-info by hand
+# anymore. We make an exception for DTS here.
+# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/MP2QVJZBOJZEOQO2G7UB2HLXKXYPF2G5/
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
+%endif
%description doc
GDB, the GNU debugger, allows you to debug programs written in C, C++,
@@ -1003,6 +1008,11 @@ done
%{_infodir}/annotate.info*
%{_infodir}/gdb.info*
+%if 0%{?scl:1}
+# As of F-28, packages won't need to call /sbin/install-info by hand
+# anymore. We make an exception for DTS here.
+# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/MP2QVJZBOJZEOQO2G7UB2HLXKXYPF2G5/
+
%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.
@@ -1024,8 +1034,13 @@ then
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
fi
fi
+%endif
%changelog
+* Mon Jun 18 2018 Sergio Durigan Junior <sergiodj@fedoraproject.org> - 8.1.50.20180613-22.fc29
+- Do not run /sbin/install-info when installing the documentation
+ (except for DTS).
+
* Wed Jun 13 2018 Sergio Durigan Junior <sergiodj@redhat.com> - 8.1.50.20180613-21.fc29
- Rebase to FSF GDB 8.1.50.20180613 (8.2pre).
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-27 23:58 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:58 [rpms/gdb] gdb-17.2-rebase-f44: Do not run /sbin/install-info when installing the documentation Sergio Durigan Junior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox