!31 [sync] PR-28: Switch bracketed-paste mode from on to off to keep consistent with realine-8.0

From: @openeuler-sync-bot 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
This commit is contained in:
openeuler-ci-bot 2023-06-27 11:17:06 +00:00 committed by Gitee
commit 831b2e5a69
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <chenziyang4@huawei.com> - 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 <yanglongkang@h-partners.com> - 8.1-2
- rebuild for next release