summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-xlswriter.spec20
1 files changed, 6 insertions, 14 deletions
diff --git a/php-pecl-xlswriter.spec b/php-pecl-xlswriter.spec
index 4ad7998..a333fa3 100644
--- a/php-pecl-xlswriter.spec
+++ b/php-pecl-xlswriter.spec
@@ -7,24 +7,16 @@
# Please, preserve the changelog entries
#
-# we don't want -z defs linker flag
-%undefine _strict_symbol_defs_build
-
%bcond_with syslib
%bcond_without tests
%{?scl:%scl_package php-pecl-xlswriter}
-# Defined in Fedora >= 37 and RHEL >= 10, in PHP >= 7.4 for remirepo
-%{!?__phpize: %global __phpize %{_bindir}/phpize}
-%{!?__ztsphpize: %global __ztsphpize %{_bindir}/zts-phpize}
-%{!?__phpconfig: %global __phpconfig %{_bindir}/php-config}
-%{!?__ztsphpconfig:%global __ztsphpconfig %{_bindir}/zts-php-config}
-
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name xlswriter
%global ini_name 40-%{pecl_name}.ini
%global sources %{pecl_name}-%{version}
+%global _configure ../%{sources}/configure
%if %{with syslib}
# No soname, so manage dependency on available version
@@ -35,7 +27,7 @@
Summary: An efficient and fast xlsx file extension
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 1.5.5
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?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
@@ -52,7 +44,6 @@ BuildRequires: zlib-devel
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
-%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
%if %{with syslib}
Requires: libxlsxwriter%{?_isa} >= %{libxlsxwriter_version}
Requires: libxlsxio%{?_isa} >= %{libxlsxio_version}
@@ -134,8 +125,6 @@ extension=%{pecl_name}.so
EOF
-%global _configure ../%{sources}/configure
-
%build
%{?dtsenable}
@@ -237,7 +226,7 @@ REPORT_EXIT_STATUS=1 \
: Upstream test suite for ZTS extension
TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \
REPORT_EXIT_STATUS=1 \
-%{_bindir}/zts-php -n run-tests.php $OPT
+%{__ztsphp} -n run-tests.php $OPT
%endif
%endif
cd ..
@@ -258,6 +247,9 @@ cd ..
%changelog
+* Wed Aug 30 2023 Remi Collet <remi@remirepo.net> - 1.5.5-2
+- rebuild for PHP 8.3.0RC1
+
* Tue May 16 2023 Remi Collet <remi@remirepo.net> - 1.5.5-1
- update to 1.5.5
- build out of sources tree