From c5c0d748c29d74f99c6e3fff941bf119da09c070 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 13 Jun 2014 20:52:39 +0000 Subject: [PATCH] Removing the useless info dir file from the build directory, plus some other tweaks of the spec file. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4965 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ nano.spec.in | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2ceced9d..3c9a6807 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,9 @@ Remove the --undo option, having the undo functions always enabled. If wished, the user can unbind them. This fixes Savannah bug #42456. * doc/man/{nano.1,nanorc.5}, doc/texinfo/nano.texi: Update the docs. + * nano.spec.in: Remove useless info dir file from the build directory, + don't clean this directory first, it's unnecessary, add a suggestion + for a pico symlink, and update the license and the source URL. 2014-06-11 Benno Schulenberg * src/winio.c (get_mouseinput): Produce the correct return value for diff --git a/nano.spec.in b/nano.spec.in index 9c8c07bc..cfe2cd63 100644 --- a/nano.spec.in +++ b/nano.spec.in @@ -6,10 +6,10 @@ Summary : Pico editor clone with enhancements Name : %{name} Version : %{version} Release : %{release} -License : GPL +License : GPLv3+ Group : Applications/Editors URL : http://www.nano-editor.org/ -Source : http://www.nano-editor.org/dist/v2.0/%{name}-%{version}.tar.gz +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 @@ -25,8 +25,9 @@ Pico text editor while also offering a few enhancements. make %install -rm -rf %{buildroot} make DESTDIR="%{buildroot}" install +#ln -s nano %{buildroot}%{_bindir}/pico +rm -f %{buildroot}%{_infodir}/dir %files %defattr(-,root,root)