Accepting request 1234611 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/1234611
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=71
This commit is contained in:
Ana Guerrero 2025-01-06 15:05:00 +00:00 committed by Git OBS Bridge
commit 5f7bff6eaa
3 changed files with 48 additions and 1 deletions

View File

@ -0,0 +1,40 @@
From e8c9d6d7aebd16b0617f00d128cbcd24c9a1094d Mon Sep 17 00:00:00 2001
From: Nicolai Dagestad <nicolai@dagestad.fr>
Date: Mon, 18 Nov 2024 16:27:36 +0100
Subject: [PATCH] Fix ping man page syntax error
Missing <para> tag caused broken formating (markup '.SH "EXIT STATUS"'
was displayed as text). Also convert space to tabs (consistency).
Fixes: 6fc68b1 ("ping: Allow to disable with environment variable")
Closes: https://github.com/iputils/iputils/pull/568
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Nicolai Dagestad <nicolai@dagestad.fr>
[ pvorel: commit message ]
Signed-off-by: Petr Vorel <pvorel@suse.cz>
[ Upstream status:
https://github.com/iputils/iputils/commit/e8c9d6d7aebd16b0617f00d128cbcd24c9a1094d ]
---
doc/ping.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/ping.xml b/doc/ping.xml
index 3efa07c..b1ad335 100644
--- a/doc/ping.xml
+++ b/doc/ping.xml
@@ -790,9 +790,9 @@ xml:id="man.ping">
<info>
<title>ENVIRONMENT</title>
</info>
- <emphasis remap="I">IPUTILS_PING_PTR_LOOKUP</emphasis> environment
- variable set to 0 disable reverse DNS resolution (PTR lookup) by default.
- It will be overrided by <option>-H</option> or <option>-n</option> option.
+ <para><emphasis remap="I">IPUTILS_PING_PTR_LOOKUP</emphasis> environment
+ variable set to 0 disable reverse DNS resolution (PTR lookup) by default.
+ It will be overrided by <option>-H</option> or <option>-n</option> option.</para>
</refsection>
<refsection xml:id="exit_status">
--
2.47.1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 2 17:33:13 UTC 2025 - Petr Vorel <pvorel@suse.cz>
- Backport ping man page fix
0001-Fix-ping-man-page-syntax-error.patch
-------------------------------------------------------------------
Thu Sep 5 10:47:27 UTC 2024 - Petr Vorel <pvorel@suse.cz>

View File

@ -1,7 +1,7 @@
#
# spec file for package iputils
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,6 +24,7 @@ License: BSD-3-Clause AND GPL-2.0-or-later
Group: Productivity/Networking/Other
URL: https://github.com/iputils/iputils
Source0: https://github.com/iputils/iputils/releases/download/%{version}/iputils-%{version}.tar.xz
Patch0: 0001-Fix-ping-man-page-syntax-error.patch
BuildRequires: docbook5-xsl-stylesheets
BuildRequires: docbook_5
BuildRequires: iproute2