diff options
author | Remi Collet <remi@remirepo.net> | 2024-09-30 08:19:11 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-09-30 08:19:11 +0200 |
commit | 98401e5cab507e4014c43e10c729dac0e86b0c6c (patch) | |
tree | b5432d4f8052f42666bc9d7828d71ff297ab7d44 /php-pecl-xlswriter.spec | |
parent | e152056300f1c179616559e27fbf6f5f16c83ee5 (diff) |
fix test suite using patch from
https://github.com/viest/php-ext-xlswriter/pull/531
Diffstat (limited to 'php-pecl-xlswriter.spec')
-rw-r--r-- | php-pecl-xlswriter.spec | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/php-pecl-xlswriter.spec b/php-pecl-xlswriter.spec index f04fdde..5bcafd5 100644 --- a/php-pecl-xlswriter.spec +++ b/php-pecl-xlswriter.spec @@ -27,11 +27,12 @@ Summary: An efficient and fast xlsx file extension Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 1.5.7 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD-2-Clause URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Patch0: 531.patch BuildRequires: %{?dtsprefix}gcc BuildRequires: make BuildRequires: %{?scl_prefix}php-devel >= 7.0 @@ -99,6 +100,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml pushd %{sources} +%patch -P0 -p1 + %if %{with syslib} # we use the system libraries rm -r library @@ -186,9 +189,6 @@ OPT="$OPT %{?_smp_mflags}" %endif cd %{sources} -%if "%{php_version}" > "8.4" -rm tests/xlsx_to_csv*.phpt -%endif : Minimal load test for NTS extension %{__php} --no-php-ini \ --define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ @@ -232,6 +232,10 @@ cd .. %changelog +* Mon Sep 30 2024 Remi Collet <remi@remirepo.net> - 1.5.7-3 +- fix test suite using patch from + https://github.com/viest/php-ext-xlswriter/pull/531 + * Tue Sep 24 2024 Remi Collet <remi@remirepo.net> - 1.5.7-2 - rebuild for 8.4.0RC1 |