summaryrefslogtreecommitdiffstats
path: root/php-pecl-xlswriter.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-xlswriter.spec')
-rw-r--r--php-pecl-xlswriter.spec17
1 files changed, 13 insertions, 4 deletions
diff --git a/php-pecl-xlswriter.spec b/php-pecl-xlswriter.spec
index 3fb09cc..ab6a284 100644
--- a/php-pecl-xlswriter.spec
+++ b/php-pecl-xlswriter.spec
@@ -29,13 +29,14 @@
Summary: An efficient and fast xlsx file export extension
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.2.8
-Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 1.2.9
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-Patch0: https://patch-diff.githubusercontent.com/raw/viest/php-ext-excel-export/pull/165.patch
+Patch0: https://patch-diff.githubusercontent.com/raw/viest/php-ext-excel-export/pull/173.patch
+Patch1: https://patch-diff.githubusercontent.com/raw/viest/php-ext-excel-export/pull/174.patch
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 7
@@ -111,7 +112,8 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
# we use the system libraries
rm -r library
-%patch0 -p1
+%patch0 -p1 -b .pr173
+%patch1 -p1 -b .pr174
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_XLSWRITER_VERSION/{s/.* "//;s/".*$//;p}' php_xlswriter.h)
@@ -255,6 +257,13 @@ cd ..
%changelog
+* Fri Sep 20 2019 Remi Collet <remi@remirepo.net> - 1.2.9-1
+- update to 1.2.9
+- drop patch merged upstream
+- add fix for 32-bit build from
+ https://github.com/viest/php-ext-excel-export/pull/173
+ https://github.com/viest/php-ext-excel-export/pull/174
+
* Mon Sep 16 2019 Remi Collet <remi@remirepo.net> - 1.2.8-4
- build with system libxlsxio using patch from
https://github.com/viest/php-ext-excel-export/pull/165