From 66ecffab56b320834c58d3e1d9f8e29b51bbff34f90c60f378789e7bf696c9d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 25 Apr 2017 15:45:33 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/hfst-ospell?expand=0&rev=2 --- hfst-ospell.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hfst-ospell.spec b/hfst-ospell.spec index 03257f3..d5bf663 100644 --- a/hfst-ospell.spec +++ b/hfst-ospell.spec @@ -28,7 +28,7 @@ Source0: https://github.com/hfst/%{name}/releases/download/v%{version}/%{ BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkgconfig -BuildRequires: pkgconfig(icu-uc) +BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(libarchive) %description @@ -53,10 +53,15 @@ Requires: hfst-ospell = %{version}-%{release} Development headers and libraries for hfst-ospell %prep -%setup -q +%setup -q -n %{_name}-%{version} %build -%configure +# disable libxml++ as upstream requires version 2.6 +# disable tinyxml2 as upstream requires version < 3.0 +%configure \ + --disable-silent-rules \ + --without-libxmlpp \ + --without-tinyxml2 make %{?_smp_mflags} %install