This commit is contained in:
Remi Collet 2017-07-10 14:23:34 +02:00
parent 3a2a82670a
commit 2617e9c64f
4 changed files with 8 additions and 26 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ php-pecl-zip.spec~
/zip-1.13.4.tgz
/zip-1.13.5.tgz
/zip-1.14.0.tgz
/zip-1.15.0.tgz

View File

@ -12,7 +12,7 @@
Summary: A ZIP archive management extension
Summary(fr): Une extension de gestion des ZIP
Name: php-pecl-zip
Version: 1.14.0
Version: 1.15.0
Release: 1%{?dist}
License: PHP
Group: Development/Languages
@ -109,8 +109,7 @@ done
cd %{pecl_name}-%{version}
: 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
@ -123,8 +122,7 @@ TEST_PHP_EXECUTABLE=%{_bindir}/php \
cd ../%{pecl_name}-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
@ -148,6 +146,9 @@ TEST_PHP_EXECUTABLE=%{_bindir}/zts-php \
%changelog
* Mon Jul 10 2017 Remi Collet <remi@remirepo.net> - 1.15.0-1
- Update to 1.15.0
* Wed Apr 5 2017 Remi Collet <remi@remirepo.net> - 1.14.0-1
- Update to 1.14.0

View File

@ -1 +1 @@
SHA512 (zip-1.14.0.tgz) = 4fb209c6b8e9bfb9ebc6ee46d1f5c09a21bb3e46aa6c8b971eff4661e822a8fcc6adbba3c438f814c24ff1d8c89f5eb29befc45768309226cfdff79d906652bc
SHA512 (zip-1.15.0.tgz) = d584ed11ad0c616214fadfb5aefb7a87f9db93f80aebfad86914304f585d90751da14f7205ed07e58675846ae4a33d398c3203ae5431ff333c3f28a713002b52

View File

@ -1,20 +0,0 @@
From 029f047293f9bb6f871f5f4800a67d692c182592 Mon Sep 17 00:00:00 2001
From: Remi Collet <fedora@famillecollet.com>
Date: Sun, 19 Feb 2017 16:59:46 +0100
Subject: [PATCH] fix test for libzip 1.2.0
---
tests/bug70322.phpt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/bug70322.phpt b/tests/bug70322.phpt
index a9b4915..b089e30 100644
--- a/tests/bug70322.phpt
+++ b/tests/bug70322.phpt
@@ -25,5 +25,5 @@ var_dump($zip->close());
@unlink(__DIR__ . '/bug70322.zip');
?>
--EXPECTF--
-Warning: ZipArchive::close(): Read error: No such file or directory in %s%ebug70322.php on line %d
+Warning: ZipArchive::close(): %s: No such file or directory in %s%ebug70322.php on line %d
bool(false)