From 9fdd78eeb4afe153ac819b4a8b4677013cf1cd28 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 10 Jul 2017 14:15:25 +0200 Subject: v1.15.0 --- REFLECTION | 12 +++++++++--- php-pecl-zip.spec | 17 +++++++++++------ 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/REFLECTION b/REFLECTION index a2d9aed..760aa4e 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #159 zip version 1.14.0 ] { +Extension [ extension #163 zip version 1.15.0 ] { - Functions { Function [ function zip_open ] { @@ -67,7 +67,7 @@ Extension [ extension #159 zip version 1.14.0 ] { } - Classes [1] { - Class [ class ZipArchive ] { + Class [ class ZipArchive implements Countable ] { - Constants [79] { Constant [ integer CREATE ] { 1 } @@ -165,7 +165,7 @@ Extension [ extension #159 zip version 1.14.0 ] { Property [ public $comment ] } - - Methods [39] { + - Methods [40] { Method [ public method open ] { - Parameters [2] { @@ -187,6 +187,12 @@ Extension [ extension #159 zip version 1.14.0 ] { } } + Method [ public method count ] { + + - Parameters [0] { + } + } + Method [ public method getStatusString ] { - Parameters [0] { diff --git a/php-pecl-zip.spec b/php-pecl-zip.spec index 209450e..a819028 100644 --- a/php-pecl-zip.spec +++ b/php-pecl-zip.spec @@ -24,8 +24,8 @@ Summary: A ZIP archive management extension Summary(fr): Une extension de gestion des ZIP Name: %{?scl_prefix}php-pecl-zip -Version: 1.14.0 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 1.15.0 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/zip @@ -69,6 +69,10 @@ Obsoletes: php70w-pecl-%{pecl_name} <= %{version} Obsoletes: php71u-pecl-%{pecl_name} <= %{version} Obsoletes: php71w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.2" +Obsoletes: php72u-pecl-%{pecl_name} <= %{version} +Obsoletes: php72w-pecl-%{pecl_name} <= %{version} +%endif %endif %if "%{php_version}" > "7.0" @@ -173,8 +177,7 @@ done cd NTS : minimal load test of NTS extension %{_bindir}/php --no-php-ini \ - --define extension_dir=modules \ - --define extension=%{pecl_name}.so \ + --define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ --modules | grep %{pecl_name} : upstream test suite for NTS extension @@ -189,8 +192,7 @@ TEST_PHP_EXECUTABLE=%{_bindir}/php \ cd ../ZTS : minimal load test of ZTS extension %{_bindir}/zts-php --no-php-ini \ - --define extension_dir=modules \ - --define extension=%{pecl_name}.so \ + --define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ --modules | grep %{pecl_name} : upstream test suite for ZTS extension @@ -238,6 +240,9 @@ fi %changelog +* Mon Jul 10 2017 Remi Collet - 1.15.0-1 +- update to 1.15.0 (stable) + * Wed Jun 21 2017 Remi Collet - 1.14.0-2 - rebuild for 7.2.0alpha2 -- cgit