diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index 212fa0c..64fde4b 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -50,7 +50,11 @@ BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(gl) # gstreamer media support BuildRequires: pkgconfig(gstreamer-0.10) pkgconfig(gstreamer-app-0.10) +%if 0%{?fedora} || 0%{?rhel} > 6 BuildRequires: pkgconfig(icu-i18n) +%else +BuildRequires: libicu-devel +%endif BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libpcre) BuildRequires: pkgconfig(libwebp)