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.spec13
1 files changed, 8 insertions, 5 deletions
diff --git a/php-pecl-xlswriter.spec b/php-pecl-xlswriter.spec
index fb5f8a6..92c0d50 100644
--- a/php-pecl-xlswriter.spec
+++ b/php-pecl-xlswriter.spec
@@ -29,14 +29,12 @@
Summary: An efficient and fast xlsx file export extension
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.2.2
-Release: 8%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 1.2.3
+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: %{pecl_name}-build.patch
-
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 7
BuildRequires: %{?scl_prefix}php-pear
@@ -104,7 +102,8 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1 -b .fixbuild
+# we use the system library
+#rm -r library
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_XLSWRITER_VERSION/{s/.* "//;s/".*$//;p}' php_xls_writer.h)
@@ -132,6 +131,7 @@ EOF
peclbuild() {
%configure \
--with-xlswriter \
+ --with-libxlsxwriter=%{_prefix} \
--with-php-config=$1
make %{?_smp_mflags}
@@ -245,6 +245,9 @@ cd ..
%changelog
+* Sun Nov 25 2018 Remi Collet <remi@remirepo.net> - 1.2.3-1
+- update to 1.2.3
+
* Tue Oct 2 2018 Remi Collet <remi@remirepo.net> - 1.2.2-8
- rebuild with libxlsxwriter 0.8.3