From: Michael Tremer Date: Mon, 8 Oct 2012 13:04:03 +0000 (+0000) Subject: nano: Disable the line wrapping. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff9f3da8eafb7934d94aca50900166a2b2b2d866;p=people%2Fms%2Fipfire-3.x.git nano: Disable the line wrapping. --- diff --git a/nano/nano.nm b/nano/nano.nm index 8a69aad69..86dd4131b 100644 --- a/nano/nano.nm +++ b/nano/nano.nm @@ -5,7 +5,7 @@ name = nano version = 2.3.0 -release = 2 +release = 3 groups = Application/Editors url = http://www.nano-editor.org/ @@ -25,19 +25,26 @@ build end configure_options += \ - --sysconfdir=/etc/nano \ --enable-color \ --enable-multibuffer \ --enable-nanorc install_cmds + # Disable line wrapping. + sed -i doc/nanorc.sample \ + -e "s/# set nowrap/set nowrap/" + install -v -m644 -D doc/nanorc.sample \ - %{BUILDROOT}/etc/nano/nanorc.sample + %{BUILDROOT}%{sysconfdir}/nanorc end end packages package %{name} + configfiles + %{sysconfdir}/nanorc + end + end package %{name}-debuginfo template DEBUGINFO