From 6c7764862b1e9b185955ad28037e43375b2c0378 Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Mon, 9 Feb 2015 19:53:29 +0000
Subject: [PATCH] 2015-02-09  Chris Allegretta <chrisa@asty.org>         *
 nano.spec.in: Add dependency on texinfo, docdir files for         RPM file
 creation.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5116 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog    | 4 ++++
 nano.spec.in | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 8f89f45e..891c32d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-09  Chris Allegretta <chrisa@asty.org>
+	* nano.spec.in: Add dependency on texinfo, docdir files for
+	RPM file creation.
+
 GNU nano 2.3.99pre2 - 2015.02.06
 2015-02-03 Alex Henrie <alexhenrie24@gmail.com>
 	* src/cut.c (do_cut_text): Make sure to set modified even when
diff --git a/nano.spec.in b/nano.spec.in
index 1b7f8975..1d6525af 100644
--- a/nano.spec.in
+++ b/nano.spec.in
@@ -11,7 +11,7 @@ Group		: Applications/Editors
 URL		: http://www.nano-editor.org/
 Source		: http://www.nano-editor.org/dist/v2.3/%{name}-%{version}.tar.gz
 BuildRoot	: %{_tmppath}/%{name}-%{version}-root
-BuildRequires	: autoconf, automake, gettext-devel, ncurses-devel
+BuildRequires	: autoconf, automake, gettext-devel, ncurses-devel, texinfo
 
 %description
 GNU nano is a small and friendly text editor.  It aims to emulate the
@@ -33,6 +33,7 @@ rm -f %{buildroot}%{_infodir}/dir
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/faq.html doc/nanorc.sample
 %{_bindir}/*
+%{_docdir}/nano/*
 %{_mandir}/man*/*
 %{_mandir}/fr/man*/*
 %{_infodir}/nano.info*
-- 
GitLab