|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
# Fedora spec file for php-pecl-zip
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2013-2022 Remi Collet
|
|
|
|
|
# Copyright (c) 2013-2021 Remi Collet
|
|
|
|
|
# License: CC-BY-SA
|
|
|
|
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
|
|
|
|
#
|
|
|
|
@ -14,14 +14,14 @@
|
|
|
|
|
%global with_zts 0%{?__ztsphp:1}
|
|
|
|
|
%global ini_name 40-%{pecl_name}.ini
|
|
|
|
|
|
|
|
|
|
%global upstream_version 1.20.1
|
|
|
|
|
%global upstream_version 1.19.2
|
|
|
|
|
#global upstream_prever RC6
|
|
|
|
|
|
|
|
|
|
Summary: A ZIP archive management extension
|
|
|
|
|
Summary(fr): Une extension de gestion des ZIP
|
|
|
|
|
Name: php-pecl-zip
|
|
|
|
|
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
License: PHP
|
|
|
|
|
URL: https://pecl.php.net/package/zip
|
|
|
|
|
|
|
|
|
@ -130,8 +130,10 @@ cd NTS
|
|
|
|
|
|
|
|
|
|
: upstream test suite for NTS extension
|
|
|
|
|
TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \
|
|
|
|
|
REPORT_EXIT_STATUS=1 \
|
|
|
|
|
NO_INTERACTION=1 \
|
|
|
|
|
TEST_PHP_EXECUTABLE=%{_bindir}/php \
|
|
|
|
|
%{_bindir}/php -n run-tests.php -q --show-diff
|
|
|
|
|
%{_bindir}/php -n run-tests.php --show-diff
|
|
|
|
|
|
|
|
|
|
%if %{with_zts}
|
|
|
|
|
cd ../ZTS
|
|
|
|
@ -142,8 +144,10 @@ cd ../ZTS
|
|
|
|
|
|
|
|
|
|
: upstream test suite for ZTS extension
|
|
|
|
|
TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \
|
|
|
|
|
REPORT_EXIT_STATUS=1 \
|
|
|
|
|
NO_INTERACTION=1 \
|
|
|
|
|
TEST_PHP_EXECUTABLE=%{_bindir}/zts-php \
|
|
|
|
|
%{_bindir}/zts-php -n run-tests.php -q --show-diff
|
|
|
|
|
%{_bindir}/zts-php -n run-tests.php --show-diff
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -162,9 +166,6 @@ TEST_PHP_EXECUTABLE=%{_bindir}/zts-php \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu May 19 2022 Remi Collet <rcollet@redhat.com> - 1.20.1-1
|
|
|
|
|
- update to 1.20.1 for PHP 8.1 #2070040
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.19.2-6
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|