diff options
| author | Remi Collet <fedora@famillecollet.com> | 2016-10-05 10:18:46 +0200 | 
|---|---|---|
| committer | Remi Collet <fedora@famillecollet.com> | 2016-10-05 10:18:46 +0200 | 
| commit | e8e8aabd75de6fda1f5a08085bd75b046e194dec (patch) | |
| tree | bf9807ae8bd983a70974b5e4b18282cbb2f3289c | |
| parent | 6993c7172d9a294c3e2fc5a835ab5fa3ec391c00 (diff) | |
php-pecl-http: 3.1.0RC1
| -rw-r--r-- | REFLECTION-PHP7 | 25 | ||||
| -rw-r--r-- | php-pecl-http-php7.spec | 26 | 
2 files changed, 30 insertions, 21 deletions
diff --git a/REFLECTION-PHP7 b/REFLECTION-PHP7 index 88f7adb..ec49d87 100644 --- a/REFLECTION-PHP7 +++ b/REFLECTION-PHP7 @@ -1,11 +1,10 @@ -Extension [ <persistent> extension #138 http version 3.1.0beta2 ] { +Extension [ <persistent> extension #145 http version 3.1.0RC1 ] {    - Dependencies {      Dependency [ raphf (Required) ]      Dependency [ propro (Required) ]      Dependency [ spl (Required) ]      Dependency [ hash (Required) ] -    Dependency [ iconv (Required) ]    }    - INI { @@ -33,9 +32,9 @@ Extension [ <persistent> extension #138 http version 3.1.0beta2 ] {      Constant [ integer http\Client\Curl\Features\NTLM_WB ] { 32768 }      Constant [ integer http\Client\Curl\Features\HTTP2 ] { 65536 }      Constant [ integer http\Client\Curl\Features\UNIX_SOCKETS ] { 524288 } -    Constant [ string http\Client\Curl\VERSIONS ] { libcurl/7.43.0 NSS/3.25 zlib/1.2.8 libidn/1.33 libssh2/1.6.0 nghttp2/1.7.1 } +    Constant [ string http\Client\Curl\VERSIONS ] { libcurl/7.43.0 NSS/3.26 zlib/1.2.8 libidn/1.33 libssh2/1.6.0 nghttp2/1.7.1 }      Constant [ string http\Client\Curl\Versions\CURL ] { 7.43.0 } -    Constant [ string http\Client\Curl\Versions\SSL ] { NSS/3.25 } +    Constant [ string http\Client\Curl\Versions\SSL ] { NSS/3.26 }      Constant [ string http\Client\Curl\Versions\LIBZ ] { 1.2.8 }      Constant [ integer http\Client\Curl\HTTP_VERSION_1_0 ] { 1 }      Constant [ integer http\Client\Curl\HTTP_VERSION_1_1 ] { 2 } @@ -1684,7 +1683,7 @@ Extension [ <persistent> extension #138 http version 3.1.0beta2 ] {          Property [ <default> private $queryArray ]        } -      - Methods [21] { +      - Methods [20] {          Method [ <internal:http, ctor> final public method __construct ] {            - Parameters [1] { @@ -1794,14 +1793,6 @@ Extension [ <persistent> extension #138 http version 3.1.0beta2 ] {            }          } -        Method [ <internal:http> public method xlate ] { - -          - Parameters [2] { -            Parameter #0 [ <required> $from_encoding ] -            Parameter #1 [ <required> $to_encoding ] -          } -        } -          Method [ <internal:http, prototype Serializable> public method serialize ] {            - Parameters [0] { @@ -2855,7 +2846,7 @@ Extension [ <persistent> extension #138 http version 3.1.0beta2 ] {      Class [ <internal:http> class http\Url ] { -      - Constants [20] { +      - Constants [22] {          Constant [ integer REPLACE ] { 0 }          Constant [ integer JOIN_PATH ] { 1 }          Constant [ integer JOIN_QUERY ] { 2 } @@ -2872,6 +2863,8 @@ Extension [ <persistent> extension #138 http version 3.1.0beta2 ] {          Constant [ integer PARSE_MBLOC ] { 65536 }          Constant [ integer PARSE_MBUTF8 ] { 131072 }          Constant [ integer PARSE_TOIDN ] { 1048576 } +        Constant [ integer PARSE_TOIDN_2003 ] { 9437184 } +        Constant [ integer PARSE_TOIDN_2008 ] { 5242880 }          Constant [ integer PARSE_TOPCT ] { 2097152 }          Constant [ integer IGNORE_ERRORS ] { 268435456 }          Constant [ integer SILENT_ERRORS ] { 536870912 } @@ -2935,7 +2928,7 @@ Extension [ <persistent> extension #138 http version 3.1.0beta2 ] {      Class [ <internal:http> class http\Env\Url extends http\Url ] { -      - Constants [17] { +      - Constants [19] {          Constant [ integer REPLACE ] { 0 }          Constant [ integer JOIN_PATH ] { 1 }          Constant [ integer JOIN_QUERY ] { 2 } @@ -2952,6 +2945,8 @@ Extension [ <persistent> extension #138 http version 3.1.0beta2 ] {          Constant [ integer PARSE_MBLOC ] { 65536 }          Constant [ integer PARSE_MBUTF8 ] { 131072 }          Constant [ integer PARSE_TOIDN ] { 1048576 } +        Constant [ integer PARSE_TOIDN_2003 ] { 9437184 } +        Constant [ integer PARSE_TOIDN_2008 ] { 5242880 }          Constant [ integer PARSE_TOPCT ] { 2097152 }        } diff --git a/php-pecl-http-php7.spec b/php-pecl-http-php7.spec index 77a2d6c..d80ed5d 100644 --- a/php-pecl-http-php7.spec +++ b/php-pecl-http-php7.spec @@ -22,12 +22,12 @@  %global gh_owner    m6w6  %global gh_project  ext-http  #global gh_date     20150928 -%global prever      beta2 +%global prever      RC1  # The project is pecl_http but the extension is only http  %global proj_name pecl_http  %global pecl_name http  %global with_zts  0%{!?_without_zts:%{?__ztsphp:1}} -# after 20-iconv 40-propro 40-raphf +# after 40-propro 40-raphf  %global ini_name  50-%{pecl_name}.ini  %ifarch %{arm}  # Test suite disabled because of erratic results on slow ARM (timeout) @@ -43,7 +43,7 @@ Version:        3.1.0  Release:        0.2.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  Source0:        https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz  %else -Release:        0.3.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release:        0.4.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  Source0:        http://pecl.php.net/get/%{proj_name}-%{version}%{?prever}.tgz  %endif  Summary:        Extended HTTP support @@ -58,13 +58,14 @@ Source1:        %{proj_name}.ini  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildRequires:  %{?scl_prefix}php-devel >= 7  BuildRequires:  %{?scl_prefix}php-hash -BuildRequires:  %{?scl_prefix}php-iconv  BuildRequires:  %{?scl_prefix}php-spl  BuildRequires:  %{?scl_prefix}php-pear  BuildRequires:  pcre-devel  BuildRequires:  zlib-devel >= 1.2.0.4  BuildRequires:  curl-devel >= 7.18.2  BuildRequires:  libidn-devel +# Use same version than PHP to ensure we use libicu-last (EL 6) +BuildRequires:  libicu-devel >= 50  BuildRequires:  %{?scl_prefix}php-pecl-propro-devel >= 1.0.0  BuildRequires:  %{?scl_prefix}php-pecl-raphf-devel  >= 1.1.0 @@ -91,7 +92,6 @@ BuildRequires: libevent-devel > 1.4  Requires:       %{?scl_prefix}php(zend-abi) = %{php_zend_api}  Requires:       %{?scl_prefix}php(api) = %{php_core_api}  Requires:       %{?scl_prefix}php-hash%{?_isa} -Requires:       %{?scl_prefix}php-iconv%{?_isa}  Requires:       %{?scl_prefix}php-spl%{?_isa}  Requires:       %{?scl_prefix}php-pecl(propro)%{?_isa} >= 1.0.0  Requires:       %{?scl_prefix}php-pecl(raphf)%{?_isa}  >= 1.1.0 @@ -191,6 +191,14 @@ mv %{proj_name}-%{version}%{?prever} NTS  %{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml}  cd NTS +# https://github.com/m6w6/ext-http/issues/53 +sed -e '/PHP_HTTP_CURL_VERSION/s/PHP_HTTP_HAVE_LIBCURL_TLSAUTH_TYPE/defined(PHP_HTTP_CURL_TLSAUTH_SRP)/' \ +    -i src/php_http_client_curl.c + +%if 0%{?rhel} == 6 +# https://github.com/m6w6/ext-http/issues/54 +sed -e '/pragma/d' -i src/php_http_url.c +%endif  extver=$(sed -n '/#define PHP_PECL_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h)  if test "x${extver}" != "x%{version}%{?prever}%{?gh_date:dev}"; then @@ -215,6 +223,7 @@ peclconf() {    --with-http-zlib-dir=%{_root_prefix} \    --with-http-libcurl-dir=%{_root_prefix} \    --with-http-libidn-dir=%{_root_prefix} \ +  --with-http-libicu-dir=%{_root_prefix} \    --with-http-libevent-dir=%{_event_prefix} \    --with-libdir=%{_lib} \    --with-php-config=$1 @@ -274,7 +283,7 @@ fi  # Shared needed extensions  modules="" -for mod in hash iconv propro raphf; do +for mod in hash  propro raphf; do    if [ -f %{php_extdir}/${mod}.so ]; then      modules="$modules -d extension=${mod}.so"    fi @@ -366,6 +375,11 @@ rm -rf %{buildroot}  %changelog +* Wed Oct  5 2016 Remi Collet <remi@fedoraproject.org> - 3.1.0-0.4.RC1 +- Update to 3.1.0beta2 (php 7, beta) +- drop dependency on iconv extension +- add dependency on libicu +  * Wed Sep 14 2016 Remi Collet <remi@fedoraproject.org> - 3.1.0-0.3.beta2  - rebuild for PHP 7.1 new API version  | 
