summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--REFLECTION160
-rw-r--r--php-pecl-zip.spec13
2 files changed, 86 insertions, 87 deletions
diff --git a/REFLECTION b/REFLECTION
index 8ec0a4d..fc0c65d 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #171 zip version 1.15.1 ] {
+Extension [ <persistent> extension #172 zip version 1.15.2 ] {
- Functions {
Function [ <internal:zip> function zip_open ] {
@@ -70,85 +70,85 @@ Extension [ <persistent> extension #171 zip version 1.15.1 ] {
Class [ <internal:zip> class ZipArchive implements Countable ] {
- Constants [79] {
- Constant [ integer CREATE ] { 1 }
- Constant [ integer EXCL ] { 2 }
- Constant [ integer CHECKCONS ] { 4 }
- Constant [ integer OVERWRITE ] { 8 }
- Constant [ integer FL_NOCASE ] { 1 }
- Constant [ integer FL_NODIR ] { 2 }
- Constant [ integer FL_COMPRESSED ] { 4 }
- Constant [ integer FL_UNCHANGED ] { 8 }
- Constant [ integer FL_ENC_GUESS ] { 0 }
- Constant [ integer FL_ENC_RAW ] { 64 }
- Constant [ integer FL_ENC_STRICT ] { 128 }
- Constant [ integer FL_ENC_UTF_8 ] { 2048 }
- Constant [ integer FL_ENC_CP437 ] { 4096 }
- Constant [ integer CM_DEFAULT ] { -1 }
- Constant [ integer CM_STORE ] { 0 }
- Constant [ integer CM_SHRINK ] { 1 }
- Constant [ integer CM_REDUCE_1 ] { 2 }
- Constant [ integer CM_REDUCE_2 ] { 3 }
- Constant [ integer CM_REDUCE_3 ] { 4 }
- Constant [ integer CM_REDUCE_4 ] { 5 }
- Constant [ integer CM_IMPLODE ] { 6 }
- Constant [ integer CM_DEFLATE ] { 8 }
- Constant [ integer CM_DEFLATE64 ] { 9 }
- Constant [ integer CM_PKWARE_IMPLODE ] { 10 }
- Constant [ integer CM_BZIP2 ] { 12 }
- Constant [ integer CM_LZMA ] { 14 }
- Constant [ integer CM_TERSE ] { 18 }
- Constant [ integer CM_LZ77 ] { 19 }
- Constant [ integer CM_WAVPACK ] { 97 }
- Constant [ integer CM_PPMD ] { 98 }
- Constant [ integer ER_OK ] { 0 }
- Constant [ integer ER_MULTIDISK ] { 1 }
- Constant [ integer ER_RENAME ] { 2 }
- Constant [ integer ER_CLOSE ] { 3 }
- Constant [ integer ER_SEEK ] { 4 }
- Constant [ integer ER_READ ] { 5 }
- Constant [ integer ER_WRITE ] { 6 }
- Constant [ integer ER_CRC ] { 7 }
- Constant [ integer ER_ZIPCLOSED ] { 8 }
- Constant [ integer ER_NOENT ] { 9 }
- Constant [ integer ER_EXISTS ] { 10 }
- Constant [ integer ER_OPEN ] { 11 }
- Constant [ integer ER_TMPOPEN ] { 12 }
- Constant [ integer ER_ZLIB ] { 13 }
- Constant [ integer ER_MEMORY ] { 14 }
- Constant [ integer ER_CHANGED ] { 15 }
- Constant [ integer ER_COMPNOTSUPP ] { 16 }
- Constant [ integer ER_EOF ] { 17 }
- Constant [ integer ER_INVAL ] { 18 }
- Constant [ integer ER_NOZIP ] { 19 }
- Constant [ integer ER_INTERNAL ] { 20 }
- Constant [ integer ER_INCONS ] { 21 }
- Constant [ integer ER_REMOVE ] { 22 }
- Constant [ integer ER_DELETED ] { 23 }
- Constant [ integer OPSYS_DOS ] { 0 }
- Constant [ integer OPSYS_AMIGA ] { 1 }
- Constant [ integer OPSYS_OPENVMS ] { 2 }
- Constant [ integer OPSYS_UNIX ] { 3 }
- Constant [ integer OPSYS_VM_CMS ] { 4 }
- Constant [ integer OPSYS_ATARI_ST ] { 5 }
- Constant [ integer OPSYS_OS_2 ] { 6 }
- Constant [ integer OPSYS_MACINTOSH ] { 7 }
- Constant [ integer OPSYS_Z_SYSTEM ] { 8 }
- Constant [ integer OPSYS_Z_CPM ] { 9 }
- Constant [ integer OPSYS_WINDOWS_NTFS ] { 10 }
- Constant [ integer OPSYS_MVS ] { 11 }
- Constant [ integer OPSYS_VSE ] { 12 }
- Constant [ integer OPSYS_ACORN_RISC ] { 13 }
- Constant [ integer OPSYS_VFAT ] { 14 }
- Constant [ integer OPSYS_ALTERNATE_MVS ] { 15 }
- Constant [ integer OPSYS_BEOS ] { 16 }
- Constant [ integer OPSYS_TANDEM ] { 17 }
- Constant [ integer OPSYS_OS_400 ] { 18 }
- Constant [ integer OPSYS_OS_X ] { 19 }
- Constant [ integer OPSYS_DEFAULT ] { 3 }
- Constant [ integer EM_NONE ] { 0 }
- Constant [ integer EM_AES_128 ] { 257 }
- Constant [ integer EM_AES_192 ] { 258 }
- Constant [ integer EM_AES_256 ] { 259 }
+ Constant [ public integer CREATE ] { 1 }
+ Constant [ public integer EXCL ] { 2 }
+ Constant [ public integer CHECKCONS ] { 4 }
+ Constant [ public integer OVERWRITE ] { 8 }
+ Constant [ public integer FL_NOCASE ] { 1 }
+ Constant [ public integer FL_NODIR ] { 2 }
+ Constant [ public integer FL_COMPRESSED ] { 4 }
+ Constant [ public integer FL_UNCHANGED ] { 8 }
+ Constant [ public integer FL_ENC_GUESS ] { 0 }
+ Constant [ public integer FL_ENC_RAW ] { 64 }
+ Constant [ public integer FL_ENC_STRICT ] { 128 }
+ Constant [ public integer FL_ENC_UTF_8 ] { 2048 }
+ Constant [ public integer FL_ENC_CP437 ] { 4096 }
+ Constant [ public integer CM_DEFAULT ] { -1 }
+ Constant [ public integer CM_STORE ] { 0 }
+ Constant [ public integer CM_SHRINK ] { 1 }
+ Constant [ public integer CM_REDUCE_1 ] { 2 }
+ Constant [ public integer CM_REDUCE_2 ] { 3 }
+ Constant [ public integer CM_REDUCE_3 ] { 4 }
+ Constant [ public integer CM_REDUCE_4 ] { 5 }
+ Constant [ public integer CM_IMPLODE ] { 6 }
+ Constant [ public integer CM_DEFLATE ] { 8 }
+ Constant [ public integer CM_DEFLATE64 ] { 9 }
+ Constant [ public integer CM_PKWARE_IMPLODE ] { 10 }
+ Constant [ public integer CM_BZIP2 ] { 12 }
+ Constant [ public integer CM_LZMA ] { 14 }
+ Constant [ public integer CM_TERSE ] { 18 }
+ Constant [ public integer CM_LZ77 ] { 19 }
+ Constant [ public integer CM_WAVPACK ] { 97 }
+ Constant [ public integer CM_PPMD ] { 98 }
+ Constant [ public integer ER_OK ] { 0 }
+ Constant [ public integer ER_MULTIDISK ] { 1 }
+ Constant [ public integer ER_RENAME ] { 2 }
+ Constant [ public integer ER_CLOSE ] { 3 }
+ Constant [ public integer ER_SEEK ] { 4 }
+ Constant [ public integer ER_READ ] { 5 }
+ Constant [ public integer ER_WRITE ] { 6 }
+ Constant [ public integer ER_CRC ] { 7 }
+ Constant [ public integer ER_ZIPCLOSED ] { 8 }
+ Constant [ public integer ER_NOENT ] { 9 }
+ Constant [ public integer ER_EXISTS ] { 10 }
+ Constant [ public integer ER_OPEN ] { 11 }
+ Constant [ public integer ER_TMPOPEN ] { 12 }
+ Constant [ public integer ER_ZLIB ] { 13 }
+ Constant [ public integer ER_MEMORY ] { 14 }
+ Constant [ public integer ER_CHANGED ] { 15 }
+ Constant [ public integer ER_COMPNOTSUPP ] { 16 }
+ Constant [ public integer ER_EOF ] { 17 }
+ Constant [ public integer ER_INVAL ] { 18 }
+ Constant [ public integer ER_NOZIP ] { 19 }
+ Constant [ public integer ER_INTERNAL ] { 20 }
+ Constant [ public integer ER_INCONS ] { 21 }
+ Constant [ public integer ER_REMOVE ] { 22 }
+ Constant [ public integer ER_DELETED ] { 23 }
+ Constant [ public integer OPSYS_DOS ] { 0 }
+ Constant [ public integer OPSYS_AMIGA ] { 1 }
+ Constant [ public integer OPSYS_OPENVMS ] { 2 }
+ Constant [ public integer OPSYS_UNIX ] { 3 }
+ Constant [ public integer OPSYS_VM_CMS ] { 4 }
+ Constant [ public integer OPSYS_ATARI_ST ] { 5 }
+ Constant [ public integer OPSYS_OS_2 ] { 6 }
+ Constant [ public integer OPSYS_MACINTOSH ] { 7 }
+ Constant [ public integer OPSYS_Z_SYSTEM ] { 8 }
+ Constant [ public integer OPSYS_Z_CPM ] { 9 }
+ Constant [ public integer OPSYS_WINDOWS_NTFS ] { 10 }
+ Constant [ public integer OPSYS_MVS ] { 11 }
+ Constant [ public integer OPSYS_VSE ] { 12 }
+ Constant [ public integer OPSYS_ACORN_RISC ] { 13 }
+ Constant [ public integer OPSYS_VFAT ] { 14 }
+ Constant [ public integer OPSYS_ALTERNATE_MVS ] { 15 }
+ Constant [ public integer OPSYS_BEOS ] { 16 }
+ Constant [ public integer OPSYS_TANDEM ] { 17 }
+ Constant [ public integer OPSYS_OS_400 ] { 18 }
+ Constant [ public integer OPSYS_OS_X ] { 19 }
+ Constant [ public integer OPSYS_DEFAULT ] { 3 }
+ Constant [ public integer EM_NONE ] { 0 }
+ Constant [ public integer EM_AES_128 ] { 257 }
+ Constant [ public integer EM_AES_192 ] { 258 }
+ Constant [ public integer EM_AES_256 ] { 259 }
}
- Static properties [0] {
diff --git a/php-pecl-zip.spec b/php-pecl-zip.spec
index 92b0bbf..db36ecf 100644
--- a/php-pecl-zip.spec
+++ b/php-pecl-zip.spec
@@ -27,16 +27,14 @@
Summary: A ZIP archive management extension
Summary(fr): Une extension de gestion des ZIP
Name: %{?scl_prefix}php-pecl-zip
-Version: 1.15.1
-Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 1.15.2
+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
Source: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
-Patch0: %{pecl_name}-upstream.patch
-
BuildRequires: %{?scl_prefix}php-devel
# Version 1.2.0 for encryption support
BuildRequires: pkgconfig(libzip) >= 1.2.0
@@ -110,16 +108,14 @@ Paquet construit pour PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VE
%prep
%setup -c -q
+mv %{pecl_name}-%{version}%{?prever} NTS
# Don't install/register tests
sed -e 's/role="test"/role="src"/' \
%{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \
-i package.xml
-mv %{pecl_name}-%{version}%{?prever} NTS
cd NTS
-%patch0 -p1
-
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_ZIP_VERSION/{s/.* "//;s/".*$//;p}' php5/php_zip.h)
if test "x${extver}" != "x%{version}%{?prever}"; then
@@ -250,6 +246,9 @@ fi
%changelog
+* Tue Dec 19 2017 Remi Collet <remi@remirepo.net> - 1.15.2-1
+- update to 1.15.2 (stable)
+
* Mon Nov 20 2017 Remi Collet <remi@remirepo.net> - 1.15.1-4
- add upstream patch for libzip 1.3.1