From b2de56433e0b96188eab0fb0b8f12f8dd0cf025f Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Apr 29 2013 19:47:17 +0000 Subject: Updated to 2.4.9. --- diff --git a/.gitignore b/.gitignore index fe4f1b3..ec5cae0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ zile-2.3.17.tar.gz /zile-2.3.21.tar.gz +/zile-2.4.9.tar.gz diff --git a/sources b/sources index 6c639ee..a2309a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ec2834a42789477c55e7d44bc9438de1 zile-2.3.21.tar.gz +84a0af58fb4fbe3af16bde2ef2b8f5ae zile-2.4.9.tar.gz diff --git a/zile-2.3.21-no_gets.patch b/zile-2.3.21-no_gets.patch deleted file mode 100644 index 85cb610..0000000 --- a/zile-2.3.21-no_gets.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -urN zile-2.3.21.orig/lib/stdio.in.h zile-2.3.21/lib/stdio.in.h ---- zile-2.3.21.orig/lib/stdio.in.h 2010-11-11 17:51:04.000000000 +0530 -+++ zile-2.3.21/lib/stdio.in.h 2012-08-05 15:56:36.840677597 +0530 -@@ -146,10 +146,12 @@ - #endif - - /* It is very rare that the developer ever has full control of stdin, -- so any use of gets warrants an unconditional warning. Assume it is -- always declared, since it is required by C89. */ -+ so any use of gets warrants an unconditional warning; besides, C11 -+ removed it. */ - #undef gets --_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -+#if HAVE_RAW_DECL_GETS -+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -+#endif - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ diff --git a/zile.spec b/zile.spec index fa864dc..405e1d5 100644 --- a/zile.spec +++ b/zile.spec @@ -1,13 +1,12 @@ Summary: Zile Is Lossy Emacs Name: zile -Version: 2.3.21 -Release: 9%{?dist} +Version: 2.4.9 +Release: 1%{?dist} License: GPLv3+ Group: Applications/Editors URL: http://www.gnu.org/software/%{name}/ Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz -Patch0: zile-2.3.21-no_gets.patch -BuildRequires: ncurses-devel help2man autoconf automake +BuildRequires: ncurses-devel gc-devel help2man autoconf automake %description Zile is a small Emacs clone. Zile is a customizable, self-documenting @@ -16,9 +15,9 @@ similar as possible to Emacs; every Emacs user should feel at home. %prep %setup -q -%patch0 -p1 -b .no_gets iconv -f iso-8859-1 -t utf-8 -o THANKS{.utf8,} +touch -r THANKS{,.utf8} mv THANKS{.utf8,} %build @@ -29,14 +28,19 @@ make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install rm -f $RPM_BUILD_ROOT/%{_infodir}/dir +# Remove unversioned doc directory; doc files will be installed into +# versioned doc directory by doc directive in files section. +rm -rf $RPM_BUILD_ROOT/usr/share/doc/zile %files -%doc AUTHORS COPYING ChangeLog NEWS README THANKS +%doc AUTHORS COPYING ChangeLog NEWS README THANKS FAQ src/dotzile.sample %{_bindir}/* %{_mandir}/man1/* -%{_datadir}/%{name}/ %changelog +* Mon Apr 29 2013 Eric Smith - 2.4.9-1 +- Updated to 2.4.9 + * Mon Apr 29 2013 Eric Smith - 2.3.21-9 - Added --install option to autoreconf.