From ff1c2518bddb4c55bac3633b46b602576b9b8563 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 1 Mar 2023 16:41:56 +0100 Subject: update to 1.5.3 drop patch merged upstream add another patch for PHP 8.2 from https://github.com/viest/php-ext-xlswriter/pull/470 --- php-pecl-xlswriter.spec | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) (limited to 'php-pecl-xlswriter.spec') diff --git a/php-pecl-xlswriter.spec b/php-pecl-xlswriter.spec index f907383..decd55b 100644 --- a/php-pecl-xlswriter.spec +++ b/php-pecl-xlswriter.spec @@ -1,7 +1,7 @@ # remirepo spec file for php-pecl-xlswriter # -# Copyright (c) 2018-2022 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2018-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries @@ -29,13 +29,13 @@ Summary: An efficient and fast xlsx file extension Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 1.5.2 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} -License: BSD +Version: 1.5.3 +Release: 1%{?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: %{pecl_name}-php82.patch +Patch0: 0001-Another-fix-for-PACKED-array-on-PHP-8.2.patch BuildRequires: %{?dtsprefix}gcc BuildRequires: make @@ -107,7 +107,7 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -%patch0 -p1 -b .pr451 +%patch0 -p1 -b .pr470 %if %{with syslib} # we use the system libraries @@ -210,15 +210,6 @@ OPT="-q -P --show-diff" OPT="$OPT %{?_smp_mflags}" %endif -%if %{with syslib} -# https://github.com/brechtsanders/xlsxio/issues/75 -rm ?TS/tests/open_xlsx_get_data_skip_empty.phpt -rm ?TS/tests/open_xlsx_next_row_skip_empty.phpt -%endif -%if "%{php_version}" > "8.2" -rm ?TS/tests/validation_limiting_input_to_a_value_in_a_dropdown_list.phpt -%endif - cd NTS : Minimal load test for NTS extension %{__php} --no-php-ini \ @@ -264,6 +255,12 @@ cd .. %changelog +* Wed Mar 1 2023 Remi Collet - 1.5.3-1 +- update to 1.5.3 +- drop patch merged upstream +- add another patch for PHP 8.2 from + https://github.com/viest/php-ext-xlswriter/pull/470 + * Fri Sep 16 2022 Remi Collet - 1.5.2-2 - add patch for PHP 8.2 from https://github.com/viest/php-ext-xlswriter/pull/451 -- cgit