summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-xlswriter.spec10
-rw-r--r--skipif.inc21
2 files changed, 5 insertions, 26 deletions
diff --git a/php-pecl-xlswriter.spec b/php-pecl-xlswriter.spec
index 57744a9..e80f41e 100644
--- a/php-pecl-xlswriter.spec
+++ b/php-pecl-xlswriter.spec
@@ -29,11 +29,10 @@
Summary: An efficient and fast xlsx file export extension
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 1.2.8
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 3%{?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
-Source1: https://raw.githubusercontent.com/viest/php-ext-excel-export/master/tests/include/skipif.inc
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 7
@@ -108,9 +107,6 @@ cd NTS
# we use the system library
rm -r library/libxlsxwriter/src
-mkdir tests/include
-cp %{SOURCE1} tests/include
-
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_XLSWRITER_VERSION/{s/.* "//;s/".*$//;p}' php_xlswriter.h)
if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then
@@ -258,6 +254,10 @@ cd ..
%changelog
* Sat Sep 14 2019 Remi Collet <remi@remirepo.net> - 1.2.8-2
- update to 1.2.8 (new tarball)
+- drop missing source added upstream
+
+* Sat Sep 14 2019 Remi Collet <remi@remirepo.net> - 1.2.8-2
+- update to 1.2.8 (new tarball)
- drop patch merged upstream
- open https://github.com/viest/php-ext-excel-export/pull/163
missing file
diff --git a/skipif.inc b/skipif.inc
deleted file mode 100644
index 591e7f8..0000000
--- a/skipif.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-/**
- * Skip Disable Reader
- *
- * @return void
- *
- * @author viest
- */
-function skip_disable_reader() {
- if (!method_exists('\Vtiful\Kernel\Excel', 'openFile')) {
- print "skip";
- }
-}
-
-(function(){
- if (!extension_loaded("xlswriter")) {
- print "skip";
- }
-})();
-