From 1f77271c07bfa9639497f0887d18f4d5e60c33d0 Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Thu, 7 Aug 2025 14:47:34 +0800 Subject: [PATCH] Drop wrong scriptlet which intrude into the file system (cherry picked from commit 913218004889e9ec440de0c7d4c8db39b62cb4a0) --- readline.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/readline.spec b/readline.spec index f2eb0c1..4b46f73 100644 --- a/readline.spec +++ b/readline.spec @@ -1,6 +1,6 @@ Name: readline Version: 8.1 -Release: 3 +Release: 4 Summary: Readline library for editing typed command lines License: GPLv3+ @@ -47,7 +47,7 @@ Man pages and other related documents for %{name}. %build export CPPFLAGS="-I%{_includedir}/ncurses" -%configure --with-curses +%configure --with-curses --disable-bracketed-paste-default %make_build %install @@ -77,12 +77,10 @@ export CPPFLAGS="-I%{_includedir}/ncurses" %exclude %{_infodir}/dir* %{_mandir}/man3/*.3.gz -%posttrans -if ! grep -q "enable-bracketed-paste" /etc/inputrc; then - echo "set enable-bracketed-paste 0" >> /etc/inputrc -fi - %changelog +* Thu Aug 07 2025 yixiangzhike - 8.1-4 +- Sync from master to drop wrong scriptlet which intrude into the file system + * Wed Jun 14 2023 chenziyang - 8.1-3 - Add shell command to switch bracketed-paste mode from on to off to keep consistent with realine-8.0 -- Gitee