From 09fc01b036c00aeb65fac7d21cbba9102dc2d920 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 28 Aug 2024 09:39:09 +0200 Subject: update to 1.5.6 --- PHPINFO | 2 +- REFLECTION | 2 +- php-pecl-xlswriter.spec | 33 ++++++++------------------------- 3 files changed, 10 insertions(+), 27 deletions(-) diff --git a/PHPINFO b/PHPINFO index 9826b3e..58de945 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,6 +2,6 @@ xlswriter xlswriter support => enabled -Version => 1.5.5 +Version => 1.5.6 bundled libxlsxwriter version => 1.1.3 bundled libxlsxio version => 0.2.27 diff --git a/REFLECTION b/REFLECTION index c3d3e93..f5f14ab 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #103 xlswriter version 1.5.5 ] { +Extension [ extension #100 xlswriter version 1.5.6 ] { - Functions { Function [ function xlswriter_get_version ] { diff --git a/php-pecl-xlswriter.spec b/php-pecl-xlswriter.spec index a333fa3..2e469b5 100644 --- a/php-pecl-xlswriter.spec +++ b/php-pecl-xlswriter.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-xlswriter # -# Copyright (c) 2018-2023 Remi Collet +# Copyright (c) 2018-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -26,8 +26,8 @@ Summary: An efficient and fast xlsx file extension Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 1.5.5 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 1.5.6 +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 @@ -94,7 +94,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %setup -q -c # Don't install tests sed -e 's/role="test"/role="src"/' \ - %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ + -e '/LICENSE/s/role="doc"/role="src"/' \ -e '/name="library/d' \ -i package.xml @@ -177,26 +177,6 @@ do install -Dpm 644 %{sources}/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done -%if 0%{?fedora} < 24 && 0%{?rhel} < 8 -# when pear installed alone, after us -%triggerin -- %{?scl_prefix}php-pear -if [ -x %{__pecl} ] ; then - %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : -fi - -# posttrans as pear can be installed after us -%posttrans -if [ -x %{__pecl} ] ; then - %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : -fi - -%postun -if [ $1 -eq 0 -a -x %{__pecl} ] ; then - %{pecl_uninstall} %{pecl_name} >/dev/null || : -fi -%endif - - %check OPT="-q -P --show-diff" %if "%{php_version}" > "7.4" @@ -233,7 +213,7 @@ cd .. %files -%{?_licensedir:%license %{sources}/LICENSE} +%license %{sources}/LICENSE %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -247,6 +227,9 @@ cd .. %changelog +* Wed Aug 28 2024 Remi Collet - 1.5.6-1 +- update to 1.5.6 + * Wed Aug 30 2023 Remi Collet - 1.5.5-2 - rebuild for PHP 8.3.0RC1 -- cgit