Ignore external characters in input only if not utf8

Resolves: rhbz#1202022
This commit is contained in:
Boris Ranto 2015-03-18 16:38:25 +01:00
parent dbf1dee603
commit d9efc791b2

View File

@ -4,11 +4,12 @@
Summary: The NetBSD Editline library Summary: The NetBSD Editline library
Name: libedit Name: libedit
Version: 3.1 Version: 3.1
Release: 9.%{snap}cvs%{?dist} Release: 10.%{snap}cvs%{?dist}
License: BSD License: BSD
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.thrysoee.dk/editline/ URL: http://www.thrysoee.dk/editline/
Source0: http://www.thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz Source0: http://www.thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
Patch0: libedit-wchar.patch
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
%description %description
@ -29,6 +30,7 @@ This package contains development files for %{name}.
%prep %prep
%setup -q -n %{name}-%{dir_snap}-%{version} %setup -q -n %{name}-%{dir_snap}-%{version}
%patch0 -p1
# Suppress rpmlint error. # Suppress rpmlint error.
iconv -f ISO8859-1 -t UTF-8 -o ChangeLog.utf-8 ChangeLog iconv -f ISO8859-1 -t UTF-8 -o ChangeLog.utf-8 ChangeLog
@ -69,6 +71,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -delete
%{_includedir}/editline/readline.h %{_includedir}/editline/readline.h
%changelog %changelog
* Wed Mar 18 2015 Boris Ranto <branto@redhat.com> - 3.1-10.20141030cvs
- ignore external characters in input only if not utf8
* Mon Jan 12 2015 Boris Ranto <branto@redhat.com> - 3.1-9.20141030cvs * Mon Jan 12 2015 Boris Ranto <branto@redhat.com> - 3.1-9.20141030cvs
- Rebase to latest upstream release - Rebase to latest upstream release
- Fix rhbz#1180529 - Fix rhbz#1180529