From 26124c432ae1a6f9e6cb7b1a720aac0626ecef14 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Sat, 12 Jul 2025 21:19:18 +0800 Subject: [PATCH] drop wrong scriptlet which intrudes into the file system --- readline.spec | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/readline.spec b/readline.spec index f740123..f96e7eb 100644 --- a/readline.spec +++ b/readline.spec @@ -1,6 +1,6 @@ Name: readline Version: 8.3 -Release: 1 +Release: 2 Summary: Readline library for editing typed command lines License: GPL-3.0-or-later @@ -10,7 +10,6 @@ Source0: https://ftp.gnu.org/gnu/readline/%{name}-%{version}.tar.gz Patch0: readline-8.0-shlib.patch BuildRequires: gcc gcc-c++ ncurses-devel -Requires: grep %description The GNU Readline library provides a set of functions for use by @@ -41,7 +40,7 @@ library. %build export CPPFLAGS="-I%{_includedir}/ncurses" -%configure --with-curses --disable-install-examples +%configure --with-curses --disable-install-examples --disable-bracketed-paste-default %make_build %install @@ -72,12 +71,10 @@ rm -vf %{buildroot}%{_infodir}/dir* %{_infodir}/readline.info* %{_mandir}/man3/* -%posttrans -if ! grep -q "enable-bracketed-paste" /etc/inputrc; then - echo "set enable-bracketed-paste 0" >> /etc/inputrc -fi - %changelog +* Sat Jul 12 2025 Funda Wang - 8.3-2 +- drop wrong scriptlet which intrudes into the file system + * Sat Jul 05 2025 Funda Wang - 8.3-1 - update to version 8.3 -- Gitee