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