From 572a49493e516c29f7b357db22bb8fc1644cab2e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 9 May 2017 13:18:55 +0200 Subject: [PATCH] drop dependency on libidn, only use libicu --- php-pecl-http.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/php-pecl-http.spec b/php-pecl-http.spec index 5d675ed..298bb62 100644 --- a/php-pecl-http.spec +++ b/php-pecl-http.spec @@ -21,7 +21,7 @@ Name: php-pecl-http Version: 3.1.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Extended HTTP support License: BSD @@ -40,7 +40,6 @@ BuildRequires: php-pear BuildRequires: pcre-devel BuildRequires: zlib-devel >= 1.2.0.4 BuildRequires: curl-devel >= 7.18.2 -BuildRequires: libidn-devel BuildRequires: libicu-devel BuildRequires: php-pecl-propro-devel >= 1.0.0 BuildRequires: php-pecl-raphf-devel >= 1.1.0 @@ -126,11 +125,15 @@ peclconf() { --with-http \ --with-http-zlib-dir=%{_prefix} \ --with-http-libcurl-dir=%{_prefix} \ - --with-http-libidn-dir=%{_prefix} \ + --without-http-libidn-dir \ + --without-http-libidn2-dir \ + --without-http-libidnkit-dir \ + --without-http-libidnkit2-dir \ --with-http-libicu-dir=%{_prefix} \ --with-http-libevent-dir=%{_prefix} \ --with-libdir=%{_lib} \ --with-php-config=$1 +grep IDNA config.h } cd NTS %{_bindir}/phpize @@ -236,6 +239,9 @@ NO_INTERACTION=1 \ %changelog +* Tue May 9 2017 Remi Collet - 3.1.0-4 +- drop dependency on libidn, only use libicu + * Fri Apr 28 2017 Remi Collet - 3.1.0-3 - add missing BR on openssl-devel for new libcurl (FTBFS from Koschei)