|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
# Fedora spec file for php-pecl-zip
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2013-2021 Remi Collet
|
|
|
|
|
# License: CC-BY-SA
|
|
|
|
|
# Copyright (c) 2013-2023 Remi Collet
|
|
|
|
|
# License: CC-BY-SA-4.0
|
|
|
|
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
|
|
|
|
#
|
|
|
|
|
# Please, preserve the changelog entries
|
|
|
|
@ -14,15 +14,15 @@
|
|
|
|
|
%global with_zts 0%{?__ztsphp:1}
|
|
|
|
|
%global ini_name 40-%{pecl_name}.ini
|
|
|
|
|
|
|
|
|
|
%global upstream_version 1.19.2
|
|
|
|
|
%global upstream_version 1.22.3
|
|
|
|
|
#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: 6%{?dist}
|
|
|
|
|
License: PHP
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: PHP-3.01
|
|
|
|
|
URL: https://pecl.php.net/package/zip
|
|
|
|
|
|
|
|
|
|
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
|
|
|
|
@ -130,10 +130,8 @@ 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 --show-diff
|
|
|
|
|
%{_bindir}/php -n run-tests.php -q --show-diff
|
|
|
|
|
|
|
|
|
|
%if %{with_zts}
|
|
|
|
|
cd ../ZTS
|
|
|
|
@ -144,10 +142,8 @@ 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 --show-diff
|
|
|
|
|
%{_bindir}/zts-php -n run-tests.php -q --show-diff
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -166,6 +162,15 @@ TEST_PHP_EXECUTABLE=%{_bindir}/zts-php \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Apr 02 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.22.3-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.4 beta
|
|
|
|
|
|
|
|
|
|
* Fri Nov 24 2023 Remi Collet <rcollet@redhat.com> - 1.22.3-1
|
|
|
|
|
- update to 1.22.3 for PHP 8.2 RHEL-14699
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|