!38 [sync] PR-37: Add shell command to switch bracketed-paste mode from on to off to keep consistent with realine-8.0

From: @openeuler-sync-bot 
Reviewed-by: @znzjugod 
Signed-off-by: @znzjugod
This commit is contained in:
openeuler-ci-bot 2025-01-24 01:03:18 +00:00 committed by Gitee
commit ef4a03453a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: readline Name: readline
Version: 8.2 Version: 8.2
Release: 3 Release: 4
Summary: Readline library for editing typed command lines Summary: Readline library for editing typed command lines
License: GPLv3+ License: GPLv3+
@ -79,8 +79,15 @@ export CPPFLAGS="-I%{_includedir}/ncurses"
%exclude %{_infodir}/dir* %exclude %{_infodir}/dir*
%{_mandir}/man3/*.3.gz %{_mandir}/man3/*.3.gz
%posttrans
if ! grep -q "enable-bracketed-paste" /etc/inputrc; then
echo "set enable-bracketed-paste 0" >> /etc/inputrc
fi
%changelog %changelog
* Thu Jan 23 2025 shixuantong <shixuantong1@huawei.com> - 8.2-4
- Add shell command to switch bracketed-paste mode from on to off to keep consistent with realine-8.0
* Wed Jan 8 2025 beta <beta@yfqm.date> - 8.2-3 * Wed Jan 8 2025 beta <beta@yfqm.date> - 8.2-3
- backport patch to fix segmentation fault problem - backport patch to fix segmentation fault problem