summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-07-10 14:15:25 +0200
committerRemi Collet <remi@remirepo.net>2017-07-10 14:15:25 +0200
commit9fdd78eeb4afe153ac819b4a8b4677013cf1cd28 (patch)
treedca82e8bd24eca4f3b20062cba07636e3273ca85
parent6b5c2dac357c867341f0a1c0e420ec6a9e729114 (diff)
v1.15.0
-rw-r--r--REFLECTION12
-rw-r--r--php-pecl-zip.spec17
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 [ <persistent> extension #159 zip version 1.14.0 ] {
+Extension [ <persistent> extension #163 zip version 1.15.0 ] {
- Functions {
Function [ <internal:zip> function zip_open ] {
@@ -67,7 +67,7 @@ Extension [ <persistent> extension #159 zip version 1.14.0 ] {
}
- Classes [1] {
- Class [ <internal:zip> class ZipArchive ] {
+ Class [ <internal:zip> class ZipArchive implements Countable ] {
- Constants [79] {
Constant [ integer CREATE ] { 1 }
@@ -165,7 +165,7 @@ Extension [ <persistent> extension #159 zip version 1.14.0 ] {
Property [ <default> public $comment ]
}
- - Methods [39] {
+ - Methods [40] {
Method [ <internal:zip> public method open ] {
- Parameters [2] {
@@ -187,6 +187,12 @@ Extension [ <persistent> extension #159 zip version 1.14.0 ] {
}
}
+ Method [ <internal:zip, prototype Countable> public method count ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:zip> 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 <remi@remirepo.net> - 1.15.0-1
+- update to 1.15.0 (stable)
+
* Wed Jun 21 2017 Remi Collet <remi@fedoraproject.org> - 1.14.0-2
- rebuild for 7.2.0alpha2