[nano] document the --poslog (-P) option in nano.1 man page
Kamil Dudka
kdudka at fedoraproject.org
Fri Aug 9 11:41:18 UTC 2013
commit 48571da7173ac0d1c9161bc8f3cd268d85afe26b
Author: Kamil Dudka <kdudka at redhat.com>
Date: Fri Aug 9 13:37:24 2013 +0200
document the --poslog (-P) option in nano.1 man page
...nt-the-poslog-P-option-in-nano.1-man-page.patch | 26 ++++++++++++++++++++
nano.spec | 9 ++++++-
2 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/0003-Document-the-poslog-P-option-in-nano.1-man-page.patch b/0003-Document-the-poslog-P-option-in-nano.1-man-page.patch
new file mode 100644
index 0000000..7d31961
--- /dev/null
+++ b/0003-Document-the-poslog-P-option-in-nano.1-man-page.patch
@@ -0,0 +1,26 @@
+From 64452244419d9b77ef62d4971bad5cdaa4dd3dfc Mon Sep 17 00:00:00 2001
+From: Kamil Dudka <kdudka at redhat.com>
+Date: Tue, 28 May 2013 15:24:19 +0200
+Subject: [PATCH 3/3] Document the --poslog (-P) option in nano.1 man page.
+
+---
+ doc/man/nano.1 | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/doc/man/nano.1 b/doc/man/nano.1
+index 4d4d67a..c4e4782 100644
+--- a/doc/man/nano.1
++++ b/doc/man/nano.1
+@@ -102,6 +102,9 @@ Disable automatic conversion of files from DOS/Mac format.
+ .B \-O (\-\-morespace)
+ Use the blank line below the titlebar as extra editing space.
+ .TP
++.B \-P (\-\-poslog)
++Log & read location of cursor position.
++.TP
+ .B \-Q \fIstr\fP (\-\-quotestr=\fIstr\fP)
+ Set the quoting string for justifying. The default is
+ "\fI^([\ \\t]*[#:>\\|}])+\fP" if extended regular expression support is
+--
+1.7.1
+
diff --git a/nano.spec b/nano.spec
index f516c8f..167a0c9 100644
--- a/nano.spec
+++ b/nano.spec
@@ -1,7 +1,7 @@
Summary: A small text editor
Name: nano
Version: 2.3.2
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv3+
Group: Applications/Editors
URL: http://www.nano-editor.org
@@ -15,6 +15,9 @@ Patch1: 0001-check-stat-s-result-and-avoid-calling-stat-on-a-NULL.patch
# http://lists.gnu.org/archive/html/nano-devel/2010-08/msg00005.html
Patch2: 0002-use-futimens-if-available-instead-of-utime.patch
+# http://thread.gmane.org/gmane.editors.nano.devel/3081
+Patch3: 0003-Document-the-poslog-P-option-in-nano.1-man-page.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf
BuildRequires: file-devel
@@ -34,6 +37,7 @@ GNU nano is a small and friendly text editor.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
for f in doc/man/fr/{nano.1,nanorc.5,rnano.1} ; do
iconv -f iso-8859-1 -t utf-8 -o $f.tmp $f && mv $f.tmp $f
@@ -89,6 +93,9 @@ exit 0
%{_datadir}/nano
%changelog
+* Fri Aug 09 2013 Kamil Dudka <kdudka at redhat.com> - 2.3.2-4
+- document the --poslog (-P) option in nano.1 man page
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.3.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list