update readline.spec.

Add shell command to switch bracketed-paste mode from on to off to keep consistent with realine-8.0

Signed-off-by: 陈子扬 <chenziyang4@huawei.com>
(cherry picked from commit ffd252ec95142a0fb3f30250d7d61d1ce6f9fcb8)
This commit is contained in:
chenziyang 2023-06-14 16:01:16 +08:00 committed by openeuler-sync-bot
parent 69ba0a33b2
commit ba16435dfb

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