replace charset conv. by upstream patch

This commit is contained in:
David Tardon 2016-02-13 13:11:25 +01:00
commit 6db10f4c86
2 changed files with 44 additions and 5 deletions

View file

@ -10,6 +10,7 @@ License: LGPLv2+
Url: https://www.freedesktop.org/wiki/Software/cppunit/
Source: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.gz
Patch0: 0001-Update-FSF-address-in-LGPL-license.patch
Patch1: 0001-convert-to-UTF-8.patch
BuildRequires: doxygen
BuildRequires: graphviz
@ -36,11 +37,6 @@ the popular doxygen documentation generation tool.
%prep
%autosetup -p1
for file in THANKS NEWS; do
iconv -f latin1 -t utf8 < $file > ${file}.utf8
touch -c -r $file ${file}.utf8
mv ${file}.utf8 $file
done
%build
%configure --enable-doxygen --disable-static --disable-silent-rules