diff --git a/readline.spec b/readline.spec index c77142d7ae74e3a1b240f909103aff56e3d5ca90..f2eb0c1c435d857a5ce1c5c905b8719cf5866caa 100644 --- a/readline.spec +++ b/readline.spec @@ -1,6 +1,6 @@ Name: readline Version: 8.1 -Release: 2 +Release: 3 Summary: Readline library for editing typed command lines License: GPLv3+ @@ -77,8 +77,15 @@ 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 +* 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 + * Tue Oct 25 2022 yanglongkang - 8.1-2 - rebuild for next release