From 64494cb873b701e9bda355bffba2e95236456257 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sat, 22 Sep 2018 18:27:44 +0200 Subject: [PATCH] upgrading package: nano 2.9.8 -> 3.1 --- nano/nano.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/nano/nano.spec b/nano/nano.spec index eb564a3163..5de8728911 100644 --- a/nano/nano.spec +++ b/nano/nano.spec @@ -22,9 +22,9 @@ ## # package version -%define V_opkg 2.9.8 -%define V_dist 2.9.8 -%define V_subdir 2.9 +%define V_opkg 3.1 +%define V_dist 3.1 +%define V_subdir 3 # package information Name: nano @@ -37,10 +37,10 @@ Class: BASE Group: Editor License: GPL Version: %{V_opkg} -Release: 20180602 +Release: 20180922 # list of sources -Source0: http://www.nano-editor.org/dist/v%{V_subdir}/nano-%{V_dist}.tar.gz +Source0: http://www.nano-editor.org/dist/v%{V_subdir}/nano-%{V_dist}.tar.xz Patch0: nano.patch # build information @@ -57,7 +57,7 @@ PreReq: ncurses prog nano = { version = %{V_dist} url = http://www.nano-editor.org/download.php - regex = nano-(\d+\.\d+.\d+(pre\d+)?)\s*\.tar\.gz + regex = nano-(\d+\.\d+)\s*\.tar\.xz } %prep @@ -83,6 +83,7 @@ PreReq: ncurses %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" strip $RPM_BUILD_ROOT%{l_prefix}/bin/nano >/dev/null 2>&1 || true rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir + rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %files -f files