diff options
author | Remi Collet <remi@remirepo.net> | 2018-06-01 07:02:55 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-06-01 07:02:55 +0200 |
commit | 09db3ea14eb0aa570a62c9f18b128fdfc866ab15 (patch) | |
tree | 9dd85a9c0c72f229054f780872381bd17fe31eed | |
parent | fbe0dca54bf134f794a88aa6cd814f254e8d0982 (diff) |
add patch to fix reflection from https://github.com/viest/php-ext-excel-export/pull/71
-rw-r--r-- | REFLECTION | 5 | ||||
-rw-r--r-- | php-pecl-xlswriter.spec | 5 |
2 files changed, 7 insertions, 3 deletions
@@ -86,7 +86,7 @@ Extension [ <persistent> extension #169 xlswriter version 1.2.0 ] { - Parameters [2] { Parameter #0 [ <required> $file_name ] - Parameter #1 [ <required> $sheet_name ] + Parameter #1 [ <optional> $sheet_name ] } } @@ -99,9 +99,8 @@ Extension [ <persistent> extension #169 xlswriter version 1.2.0 ] { Method [ <internal:xlswriter> public method constMemory ] { - - Parameters [2] { + - Parameters [1] { Parameter #0 [ <required> $file_name ] - Parameter #1 [ <required> $sheet_name ] } } diff --git a/php-pecl-xlswriter.spec b/php-pecl-xlswriter.spec index a6031c0..9fb584f 100644 --- a/php-pecl-xlswriter.spec +++ b/php-pecl-xlswriter.spec @@ -35,6 +35,8 @@ License: BSD URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Patch0: 71.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7 BuildRequires: %{?scl_prefix}php-pear @@ -98,6 +100,7 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 # Sanity check, really often broken extver=$(sed -n '/#define PHP_XLSWRITER_VERSION/{s/.* "//;s/".*$//;p}' php_xls_writer.h) @@ -240,6 +243,8 @@ cd .. %changelog * Fri Jun 1 2018 Remi Collet <remi@remirepo.net> - 1.2.0-1 - update to 1.2.0 +- add patch to fix reflection from + https://github.com/viest/php-ext-excel-export/pull/71 * Thu May 31 2018 Remi Collet <remi@remirepo.net> - 1.1.0-1 - update to 1.1.0 |