Include patch to remove LC_CTYPE for ja man pages, fixes sed 100% CPU

issue.
epel9
Matthias Saou 18 years ago
parent 89ffb12614
commit ee00d6007c

@ -0,0 +1,11 @@
diff -Naupr djvulibre-3.5.19.orig/i18n/ja/Makefile.in djvulibre-3.5.19/i18n/ja/Makefile.in
--- djvulibre-3.5.19.orig/i18n/ja/Makefile.in 2007-03-25 22:48:29.000000000 +0200
+++ djvulibre-3.5.19/i18n/ja/Makefile.in 2007-06-11 13:59:52.000000000 +0200
@@ -53,7 +53,6 @@ install: install-man
# Rules
nsdejavu.1: ${srcdir}/nsdejavu.1.in
- LC_CTYPE=ja_JP.eucjp \
sed < ${srcdir}/nsdejavu.1.in > nsdejavu.1 \
-e 's,LIBDIR,${libdir},' -e 's,NSDEJAVUSO,${NSDEJAVU},'

@ -1,12 +1,13 @@
Summary: DjVu viewers, encoders, utilities and web browser plugin Summary: DjVu viewers, encoders, utilities and web browser plugin
Name: djvulibre Name: djvulibre
Version: 3.5.19 Version: 3.5.19
Release: 1%{?dist} Release: 2%{?dist}
License: GPL License: GPL
Group: Applications/Publishing Group: Applications/Publishing
URL: http://djvu.sourceforge.net/ URL: http://djvu.sourceforge.net/
Source: http://dl.sf.net/djvu/djvulibre-%{version}.tar.gz Source: http://dl.sf.net/djvu/djvulibre-%{version}.tar.gz
Patch0: djvulibre-3.5.18-plugin-manpage.patch Patch0: djvulibre-3.5.18-plugin-manpage.patch
Patch1: djvulibre-3.5.19-ja-encoding.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires(post): xdg-utils, /sbin/ldconfig Requires(post): xdg-utils, /sbin/ldconfig
Requires(preun): xdg-utils Requires(preun): xdg-utils
@ -39,6 +40,7 @@ Development files for djvulibre.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .plugin-manpage %patch0 -p1 -b .plugin-manpage
%patch1 -p1 -b .ja-encoding
# Remove leftover file (since we include the dir as %%doc) # Remove leftover file (since we include the dir as %%doc)
%{__rm} -f doc/minilisp/.cvsignore %{__rm} -f doc/minilisp/.cvsignore
# Convert ISO8859-1 ja man pages to UTF-8 (still as of 3.5.19) # Convert ISO8859-1 ja man pages to UTF-8 (still as of 3.5.19)
@ -113,6 +115,9 @@ fi
%changelog %changelog
* Mon Jun 11 2007 Matthias Saou <http://freshrpms.net/> 3.5.19-2
- Include patch to remove LC_CTYPE for ja man pages, fixes sed 100% CPU issue.
* Fri Jun 8 2007 Matthias Saou <http://freshrpms.net/> 3.5.19-1 * Fri Jun 8 2007 Matthias Saou <http://freshrpms.net/> 3.5.19-1
- Update to 3.5.19. - Update to 3.5.19.
- Disable rpath on 64bit... not. - Disable rpath on 64bit... not.

Loading…
Cancel
Save