Updated to 2.4.9.
This commit is contained in:
parent
3c939cdafa
commit
b2de56433e
|
@ -1,2 +1,3 @@
|
|||
zile-2.3.17.tar.gz
|
||||
/zile-2.3.21.tar.gz
|
||||
/zile-2.4.9.tar.gz
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
ec2834a42789477c55e7d44bc9438de1 zile-2.3.21.tar.gz
|
||||
84a0af58fb4fbe3af16bde2ef2b8f5ae zile-2.4.9.tar.gz
|
||||
|
|
|
@ -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@
|
18
zile.spec
18
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 <eric@brouhaha.com> - 2.4.9-1
|
||||
- Updated to 2.4.9
|
||||
|
||||
* Mon Apr 29 2013 Eric Smith <eric@brouhaha.com> - 2.3.21-9
|
||||
- Added --install option to autoreconf.
|
||||
|
||||
|
|
Loading…
Reference in New Issue