diff --git a/backport-fix-a-formatting-on-the-keyctl.1-man-page.patch b/backport-fix-a-formatting-on-the-keyctl.1-man-page.patch new file mode 100644 index 0000000000000000000000000000000000000000..4ad658950ea217e78aca6b12f49b5b39821e3057 --- /dev/null +++ b/backport-fix-a-formatting-on-the-keyctl.1-man-page.patch @@ -0,0 +1,42 @@ +From c776445b5c5cb7116cf678182a2777d69eaf3276 Mon Sep 17 00:00:00 2001 +From: jiawenhao +Date: Thu, 17 Apr 2025 17:10:19 +0800 +Subject: [PATCH] fix-a-formatting-on-the-keyctl.1-man-page + +--- + man/keyctl.1 | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/man/keyctl.1 b/man/keyctl.1 +index 2343762..c1d067f 100644 +--- a/man/keyctl.1 ++++ b/man/keyctl.1 +@@ -302,7 +302,7 @@ The \fBpadd\fR variant of the command reads the data from stdin rather than + taking it from the command line: + + .RS +-.fi ++.nf + $ echo \-n stuff | keyctl padd user mykey @u + 26 + .fi +@@ -499,6 +499,7 @@ reject all links. + .RS + .nf + $ keyctl restrict_keyring $1 asymmetric builtin_trusted ++.fi + .RE + .SS Read a key + \fBkeyctl read\fR +@@ -522,7 +523,7 @@ $ keyctl read 26 + $ keyctl print 26 + b + $ keyctl pipe 26 +-$ ++b$ + .fi + .RE + .SS List a keyring +-- +2.27.0 + diff --git a/keyutils.spec b/keyutils.spec index cf86388774d1b4dc622acf58d3b715b5aaa7b469..08f1d76ea37b150a8637317838ef7ef6aae41626 100644 --- a/keyutils.spec +++ b/keyutils.spec @@ -1,6 +1,6 @@ Name: keyutils Version: 1.6.3 -Release: 5 +Release: 6 Summary: Utilities of Linux Key Management License: GPLv2+ and LGPLv2+ @@ -8,6 +8,7 @@ Url: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git Source0: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-%{version}.tar.gz Patch9000: bugfix-fix-argv-string-out-of-bounds.patch +Patch9001: backport-fix-a-formatting-on-the-keyctl.1-man-page.patch BuildRequires: gcc gcc-c++ BuildRequires: glibc-kernheaders >= 2.4-9.1.92 @@ -96,6 +97,9 @@ make \ %{_mandir}/man*/* %changelog +* Thu Apr 17 2025 jiawenhao - 1.6.3-6 +- DESC: fix a formatting on the keyctl.1 man page + * Fri Aug 05 2022 xuraoqing - 1.6.3-5 - DESC: fixed incorrect changelog time