- Use libidn at runtime, libicu only at buildtime (#1305701)
This commit is contained in:
Yaakov Selkowitz 2016-03-31 00:32:41 -05:00
parent ba07d91a9d
commit 95b3f32d50
3 changed files with 21 additions and 4 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/libpsl-0.7.0.tar.gz
/libpsl-0.7.1.tar.gz
/libpsl-0.12.0.tar.gz
/libpsl-0.13.0.tar.gz

View File

@ -1,6 +1,6 @@
Name: libpsl
Version: 0.12.0
Release: 2%{?dist}
Version: 0.13.0
Release: 1%{?dist}
Summary: C library for the Publix Suffix List
License: MIT
URL: https://rockdaboot.github.io/libpsl
@ -9,6 +9,8 @@ BuildRequires: gettext-devel
BuildRequires: glib2-devel
BuildRequires: gtk-doc
BuildRequires: libicu-devel
BuildRequires: libidn-devel
BuildRequires: libunistring-devel
BuildRequires: libxslt
BuildRequires: publicsuffix-list
@ -62,10 +64,19 @@ rm -frv list
# But makefile hack is not upstreamed yet so we continue reconfiguring these.
# [ -f configure ] || autoreconf -fiv
# autoreconf -fiv
# libicu does allow support for a newer IDN specification than libidn.
# However, libpsl mostly relies on an internally compiled list, which is
# generated at buildtime and the support thereof requires either libidn
# or libicu only at buildtime; the runtime requirement is only for
# loading external lists, which IIUC neither curl nor wget support.
# As both already depend on libidn, this helps minimize dependencies.
%configure --disable-silent-rules \
--disable-static \
--enable-man \
--enable-gtk-doc \
--enable-builtin=libicu \
--enable-runtime=libidn \
--with-psl-file=%{_datadir}/publicsuffix/effective_tld_names.dat \
--with-psl-testfile=%{_datadir}/publicsuffix/test_psl.txt
@ -85,7 +96,8 @@ make check || cat tests/test-suite.log
%files
%license COPYING
%{_libdir}/libpsl.so.*
%{_libdir}/libpsl.so.5
%{_libdir}/libpsl.so.5.*
%files devel
%doc AUTHORS NEWS
@ -101,6 +113,10 @@ make check || cat tests/test-suite.log
%{_bindir}/psl
%changelog
* Thu Mar 31 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 0.13.0-1
- new version (#1313825)
- Use libidn at runtime, libicu only at buildtime (#1305701)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1 +1 @@
752d4ba864c5c9e34dde4074f2071727 libpsl-0.12.0.tar.gz
fd99a6d7cc629faba1cb0633eaf73898 libpsl-0.13.0.tar.gz