From cfda1fff16405cb376cc0663fdbb0d74ff8e2c88 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 26 Oct 2021 16:34:26 +0200 Subject: update to 1.5.1 --- php-pecl-xlswriter.spec | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'php-pecl-xlswriter.spec') diff --git a/php-pecl-xlswriter.spec b/php-pecl-xlswriter.spec index 4720185..4c9cfad 100644 --- a/php-pecl-xlswriter.spec +++ b/php-pecl-xlswriter.spec @@ -31,8 +31,8 @@ Summary: An efficient and fast xlsx file extension Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.4.0 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 1.5.1 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz @@ -56,7 +56,7 @@ Requires: libxlsxwriter%{?_isa} >= %{libxlsxwriter_version} Requires: libxlsxio%{?_isa} >= %{libxlsxio_version} %else # see library/libxlsxwriter/include/xlsxwriter.h -Provides: bundled(libxlsxwriter) = 0.9.4 +Provides: bundled(libxlsxwriter) = 1.1.3 # see library/libxlsxio/include/xlsxio_version.h Provides: bundled(libxlsxio) = 0.2.27 %endif @@ -71,9 +71,6 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele %endif %if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -%if "%{php_version}" > "7.3" -Obsoletes: php73-pecl-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "7.4" Obsoletes: php74-pecl-%{pecl_name} <= %{version} %endif @@ -223,6 +220,11 @@ fi %check +OPT="-q -P --show-diff" +%if "%{php_version}" > "7.4" +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 @@ -240,11 +242,9 @@ cd NTS %if %{with tests} : Upstream test suite for NTS extension -TEST_PHP_EXECUTABLE=%{__php} \ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ -NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ -%{__php} -n run-tests.php --show-diff +%{__php} -n run-tests.php $OPT %endif %if %{with_zts} @@ -257,11 +257,9 @@ cd ../ZTS %if %{with tests} : Upstream test suite for ZTS extension -TEST_PHP_EXECUTABLE=%{_bindir}/zts-php \ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ -NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ -%{_bindir}/zts-php -n run-tests.php --show-diff +%{_bindir}/zts-php -n run-tests.php $OPT %endif %endif cd .. @@ -282,6 +280,12 @@ cd .. %changelog +* Tue Oct 26 2021 Remi Collet - 1.5.1-1 +- update to 1.5.1 + +* Thu Oct 7 2021 Remi Collet - 1.5.0-1 +- update to 1.5.0 + * Wed Sep 01 2021 Remi Collet - 1.4.0-2 - rebuild for 8.1.0RC1 -- cgit