diff --git a/backport-fix-broken-command-command-key.patch b/backport-fix-broken-command-command-key.patch new file mode 100644 index 0000000000000000000000000000000000000000..62b9b6065c6f8e7160492734546fd581ee6e8148 --- /dev/null +++ b/backport-fix-broken-command-command-key.patch @@ -0,0 +1,13 @@ +diff -Naur util-linux-2.39.1-bak/text-utils/more.c util-linux-2.39.1/text-utils/more.c +--- util-linux-2.39.1-bak/text-utils/more.c 2025-04-15 15:39:55.780183129 +0800 ++++ util-linux-2.39.1/text-utils/more.c 2025-04-15 15:41:43.810656498 +0800 +@@ -861,6 +861,9 @@ + case 'p': + cmd.key = more_kc_previous_file; + return cmd; ++ case '!': ++ cmd.key = more_kc_run_shell; ++ return cmd; + default: + cmd.key = more_kc_unknown_command; + return cmd; diff --git a/util-linux.spec b/util-linux.spec index 3dc280cb9e57afdfb377e8a9f96014435606622e..f4d9bfbc380ae2916192703732d9bb688a314060 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -3,7 +3,7 @@ Name: util-linux Version: 2.39.1 -Release: 20 +Release: 21 Summary: A random collection of Linux utilities License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain URL: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git @@ -108,6 +108,7 @@ Patch9002: sfdisk-fix-crash-casued-by-out-of-bounds-access.patch Patch9003: add-new-gmo-file.patch Patch9004: mount-fix-use-option-owner-mount-failed.patch Patch9005: mkfs.bfs-fix-memory-leaks-and-weak-code.patch +Patch9006: backport-fix-broken-command-command-key.patch BuildRequires: audit-libs-devel >= 1.0.6 gettext-devel libselinux-devel ncurses-devel pam-devel zlib-devel popt-devel BuildRequires: libutempter-devel systemd-devel systemd libuser-devel libcap-ng-devel python3-devel gcc autoconf automake @@ -484,6 +485,12 @@ fi %endif %changelog +* Tue Apr 15 2025 lijian - 2.39.1-21 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: fix broken ':!command' command key + * Thu Mar 27 2025 zhangting - 2.39.1-20 - Type:bugfix - ID:NA