summaryrefslogtreecommitdiffstats
path: root/php-pecl-xmlrpc.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-xmlrpc.spec')
-rw-r--r--php-pecl-xmlrpc.spec16
1 files changed, 6 insertions, 10 deletions
diff --git a/php-pecl-xmlrpc.spec b/php-pecl-xmlrpc.spec
index 1d94b1d..809b669 100644
--- a/php-pecl-xmlrpc.spec
+++ b/php-pecl-xmlrpc.spec
@@ -25,15 +25,15 @@
%global pecl_name xmlrpc
%global with_tests 0%{!?_without_tests:1}
%global upver 1.0.0
-%global rcver RC2
-%global lower rc2
+%global rcver RC3
+%global lower rc3
# After 20-xml
%global ini_name 30-%{pecl_name}.ini
Summary: Functions to write XML-RPC servers and clients
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: %{upver}%{?lower:~%{lower}}%{?gh_date:.%{gh_date}}
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
# Extension is PHP
# Library is BSD
@@ -45,8 +45,6 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
Source0: https://pecl.php.net/get/%{pecl_name}-%{upver}%{?rcver}.tgz
%endif
-Patch0: %{pecl_name}-php81.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 8.0
@@ -105,8 +103,6 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1 -b .php81
-
# Check version as upstream often forget to update this
extver=$(sed -n '/#define PHP_XMLRPC_VERSION/{s/.* "//;s/".*$//;p}' php_xmlrpc.h)
if test "x${extver}" != "x%{upver}%{?rcver}%{?gh_date:-dev}"; then
@@ -196,10 +192,7 @@ cd ../ZTS
cd ../NTS
: Run upstream test suite
-TEST_PHP_EXECUTABLE=%{__php} \
TEST_PHP_ARGS="-n -d extension=xml -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \
-NO_INTERACTION=1 \
-REPORT_EXIT_STATUS=1 \
%{__php} -n run-tests.php -q --show-diff
%endif
@@ -221,6 +214,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Mon Dec 6 2021 Remi Collet <remi@remirepo.net> - 1.0.0~rc3-1
+- update to 1.0.0RC3 (beta)
+
* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 1.0.0~rc2-3
- rebuild for 8.1.0RC1