Resolves: #1270712 - enable syntax highlighting by default
This commit is contained in:
parent
fb354ce4fb
commit
8a7d2e4731
11
nano.spec
11
nano.spec
@ -1,7 +1,7 @@
|
||||
Summary: A small text editor
|
||||
Name: nano
|
||||
Version: 2.4.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv3+
|
||||
Group: Applications/Editors
|
||||
URL: http://www.nano-editor.org
|
||||
@ -54,9 +54,13 @@ make DESTDIR="%{buildroot}" install
|
||||
rm -f %{buildroot}%{_infodir}/dir
|
||||
cp %{SOURCE2} ./nanorc
|
||||
|
||||
# disable line wrapping by default and set hunspell as the default spell-checker
|
||||
# downstream changes to /etc/nanorc
|
||||
# - disable line wrapping by default
|
||||
# - set hunspell as the default spell-checker
|
||||
# - enable syntax highlighting by default (#1270712)
|
||||
sed -e 's/# set nowrap/set nowrap/' \
|
||||
-e 's/^#.*set speller.*$/set speller "hunspell"/' \
|
||||
-e 's|^# \(include "/usr/share/nano/\*.nanorc"\)|\1|' \
|
||||
doc/nanorc.sample >> ./nanorc
|
||||
mkdir -p %{buildroot}%{_sysconfdir}
|
||||
install -m 644 ./nanorc %{buildroot}%{_sysconfdir}/nanorc
|
||||
@ -89,6 +93,9 @@ exit 0
|
||||
%{_datadir}/nano
|
||||
|
||||
%changelog
|
||||
* Mon Oct 12 2015 Kamil Dudka <kdudka@redhat.com> - 2.4.2-2
|
||||
- enable syntax highlighting by default (#1270712)
|
||||
|
||||
* Tue Jul 07 2015 Kamil Dudka <kdudka@redhat.com> - 2.4.2-1
|
||||
- new upstream release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user