diff --git a/libpsl.changes b/libpsl.changes index cf97e99..0d47356 100644 --- a/libpsl.changes +++ b/libpsl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 6 14:41:26 UTC 2017 - coolo@suse.com + +- Use idn2 runtime instead of libicu - as libicu requires 30MB + of unicode data - while idn2 is already part of minimal system + ------------------------------------------------------------------- Thu Jan 19 14:10:41 UTC 2017 - shshyukriev@suse.com diff --git a/libpsl.spec b/libpsl.spec index 186c01f..33dedf2 100644 --- a/libpsl.spec +++ b/libpsl.spec @@ -27,8 +27,8 @@ Group: Development/Libraries/C and C++ Url: https://rockdaboot.github.io/libpsl Source: https://github.com/rockdaboot/libpsl/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz Source1000: baselibs.conf -BuildRequires: libicu-devel BuildRequires: libidn2-devel >= 0.14 +BuildRequires: libunistring-devel BuildRequires: pkgconfig >= 0.9.0 BuildRequires: publicsuffix BuildRequires: python-base >= 2.7 @@ -47,9 +47,9 @@ and sorting domain lists by site. %package -n %{name}%{somajor} Summary: C library for the Publix Suffix List +# The libary code is MIT, with built-in data from publicsuffix License: MIT and MPL-2.0 Group: System/Libraries -# The libary code is MIT, with built-in data from publicsuffix Recommends: publicsuffix %description -n %{name}%{somajor} @@ -95,6 +95,9 @@ and sorting domain lists by site. %setup -q %build +# default is libicu, but this just too heavy dependency. This library is part of the +# minimal system as curl uses it - but libidn2 is already used by curl directly, while +# icu is not %configure \ --disable-silent-rules \ --disable-static \ @@ -102,6 +105,7 @@ and sorting domain lists by site. --disable-runtime \ --disable-builtin \ %endif + --enable-builtin=libidn2 --enable-runtime=libidn2 \ --with-psl-file=%{_datadir}/publicsuffix/public_suffix_list.dat \ --with-psl-distfile=%{_datadir}/publicsuffix/public_suffix_list.dafsa