[nano/f19] document the --poslog (-P) option in nano.1 man page

Kamil Dudka kdudka at fedoraproject.org
Fri Aug 9 11:45:04 UTC 2013


commit 40f8e299140f6dd12f04311dadf47085ba527c01
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..471e347
--- /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
+@@ -99,6 +99,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 cd00884..dc40fe5 100644
--- a/nano.spec
+++ b/nano.spec
@@ -1,7 +1,7 @@
 Summary:         A small text editor
 Name:            nano
 Version:         2.3.1
-Release:         7%{?dist}
+Release:         8%{?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:   automake
 BuildRequires:   gettext-devel
@@ -33,6 +36,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
@@ -87,6 +91,9 @@ exit 0
 %{_datadir}/nano
 
 %changelog
+* Fri Aug 09 2013 Kamil Dudka <kdudka at redhat.com> - 2.3.1-8
+- document the --poslog (-P) option in nano.1 man page
+
 * Thu Apr 04 2013 Kamil Dudka <kdudka at redhat.com> - 2.3.1-7
 - run autoreconf in %%prep to support aarch64 with autoconf 2.69+ (#926195)
 


More information about the scm-commits mailing list