diff --git a/nano-2.2.4.tar.bz2 b/nano-2.2.4.tar.bz2 deleted file mode 100644 index a7df718..0000000 --- a/nano-2.2.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:83146d952085a0db5ec18b5afe10ecad852632179fc5732696207af0670f1607 -size 1040145 diff --git a/nano-2.2.5.tar.bz2 b/nano-2.2.5.tar.bz2 new file mode 100644 index 0000000..480d221 --- /dev/null +++ b/nano-2.2.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c8a81b0ae733e223fd319a58aa69c02b0b51def17331680d7b52b528dd338be +size 1050654 diff --git a/nano-no-build-date.patch b/nano-no-build-date.patch new file mode 100644 index 0000000..61219a7 --- /dev/null +++ b/nano-no-build-date.patch @@ -0,0 +1,14 @@ +Index: src/nano.c +=================================================================== +--- src/nano.c.orig 2010-04-14 01:07:06.000000000 -0400 ++++ src/nano.c 2010-08-30 23:06:00.830692326 -0400 +@@ -935,8 +935,7 @@ void usage(void) + * it was compiled with. */ + void version(void) + { +- printf(_(" GNU nano version %s (compiled %s, %s)\n"), VERSION, +- __TIME__, __DATE__); ++ printf(_(" GNU nano version %s\n"), VERSION); + printf(" (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,\n"); + printf(" 2008, 2009 Free Software Foundation, Inc.\n"); + printf( diff --git a/nano.changes b/nano.changes index 3fef09a..b9a1666 100644 --- a/nano.changes +++ b/nano.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 31 03:24:22 UTC 2010 - cristian.rodriguez@opensuse.org + +- Update to version 2.2.5 +- Do not provide build dates in binaries + ------------------------------------------------------------------- Thu Apr 15 22:19:02 UTC 2010 - pascal.bleser@opensuse.org diff --git a/nano.spec b/nano.spec index a64e0d6..7b5bb87 100644 --- a/nano.spec +++ b/nano.spec @@ -18,21 +18,21 @@ # norootforbuild %define nano_extraver %{nil} - + Name: nano BuildRequires: ncurses-devel Url: http://www.nano-editor.org/ License: GPLv3+ Group: Productivity/Editors/Other Summary: Pico Editor Clone with Enhancements -Version: 2.2.4 +Version: 2.2.5 Release: 1 # http://www.nano-editor.org/dist/v2.2/nano-%{version}%{nano_extraver}.tar.gz Source: %{name}-%{version}%{nano_extraver}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): %install_info_prereq Requires(postun): %install_info_prereq - +Patch: nano-no-build-date.patch %description GNU nano is a small and friendly text editor. It aims to emulate the Pico text editor while also offering a few enhancements. @@ -53,7 +53,7 @@ Authors: %lang_package %prep %setup -q -n "%{name}-%{version}%{nano_extraver}" - +%patch %build %configure --disable-rpath --enable-utf8 %__make %{?_smp_mflags}