diff --git a/opensp.spec b/opensp.spec index 1d0a134..03e70de 100644 --- a/opensp.spec +++ b/opensp.spec @@ -1,7 +1,7 @@ Summary: SGML and XML parser Name: opensp Version: 1.5.2 -Release: 9%{?dist} +Release: 10%{?dist} Requires: sgml-common >= 0.5 URL: http://openjade.sourceforge.net/ Source: http://download.sourceforge.net/openjade/OpenSP-%{version}.tar.gz @@ -34,18 +34,15 @@ Header files and libtool library for developing applications that use OpenSP. %patch0 -p1 -b .multilib %patch1 -p1 -b .nodeids %patch2 -p1 -b .sigsegv +# convert files to UTF-8 +iconv -f latin1 -t utf8 ChangeLog -o ChangeLog.tmp +mv -f ChangeLog.tmp ChangeLog %build %configure --disable-dependency-tracking --disable-static --enable-http \ --enable-default-catalog=%{_sysconfdir}/sgml/catalog \ --enable-default-search-path=%{_datadir}/sgml:%{_datadir}/xml make %{?_smp_mflags} -# convert files to UTF-8 -iconv -f latin1 -t utf8 ChangeLog -o ChangeLog.tmp -mv -f ChangeLog.tmp ChangeLog -sed -i 's/charset=ISO-8859-1/charset=UTF-8/' docsrc/releasenotes.html -iconv -f latin1 -t utf8 docsrc/releasenotes.html -o docsrc/releasenotes.html.tmp -mv -f docsrc/releasenotes.html.tmp docsrc/releasenotes.html %install rm -rf $RPM_BUILD_ROOT @@ -104,6 +101,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Oct 24 2008 Ondrej Vasik 1.5.2-10 +- move conversion to prep, do not convert html doc(#226217) + * Thu Oct 23 2008 Ondrej Vasik 1.5.2-9 - convert doc files to UTF-8 (#226217)