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:
parent
69ba0a33b2
commit
ba16435dfb
@ -1,6 +1,6 @@
|
|||||||
Name: readline
|
Name: readline
|
||||||
Version: 8.1
|
Version: 8.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Readline library for editing typed command lines
|
Summary: Readline library for editing typed command lines
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -77,8 +77,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
|
||||||
|
* 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
|
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 8.1-2
|
||||||
- rebuild for next release
|
- rebuild for next release
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user