diff --git a/readline.spec b/readline.spec index 5a64276d2ee3241caf9571caa66f705e73fc5d36..7de124c07439978a4272ba9223d47c90649769a8 100644 --- a/readline.spec +++ b/readline.spec @@ -1,6 +1,6 @@ Name: readline Version: 8.2 -Release: 4 +Release: 5 Summary: Readline library for editing typed command lines License: GPLv3+ @@ -48,7 +48,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 @@ -79,12 +79,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 +* Sat Jul 12 2025 Funda Wang - 8.2-5 +- drop wrong scriptlet which intrudes into the file system + * Thu Jan 23 2025 shixuantong - 8.2-4 - Add shell command to switch bracketed-paste mode from on to off to keep consistent with realine-8.0