|
|
@ -1,6 +1,6 @@
|
|
|
|
# Fedora spec file for php-pecl-xdebug3
|
|
|
|
# Fedora spec file for php-pecl-xdebug3
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2010-2021 Remi Collet
|
|
|
|
# Copyright (c) 2010-2022 Remi Collet
|
|
|
|
# Copyright (c) 2006-2009 Christopher Stone
|
|
|
|
# Copyright (c) 2006-2009 Christopher Stone
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# License: MIT
|
|
|
|
# License: MIT
|
|
|
@ -16,11 +16,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
%global pecl_name xdebug
|
|
|
|
%global pecl_name xdebug
|
|
|
|
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
|
|
|
|
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
|
|
|
|
%global gh_commit 52911afee0d66f4569d71d25bb9532c8fab9d5f5
|
|
|
|
%global gh_commit d7f4cdfa8d88fc663550f579ca2b82080832cec3
|
|
|
|
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
|
|
|
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
|
|
# version/release
|
|
|
|
# version/release
|
|
|
|
%global upstream_version 3.1.2
|
|
|
|
%global upstream_version 3.1.4
|
|
|
|
#global upstream_prever RC1
|
|
|
|
#global upstream_prever RC1
|
|
|
|
#global upstream_lower rc1
|
|
|
|
#global upstream_lower rc1
|
|
|
|
|
|
|
|
|
|
|
@ -92,11 +92,6 @@ mv NTS/package.xml .
|
|
|
|
sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
|
|
|
|
sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
|
|
|
|
|
|
|
|
|
|
|
|
cd NTS
|
|
|
|
cd NTS
|
|
|
|
# ignore tests relying on DNS
|
|
|
|
|
|
|
|
find tests -type f -exec grep -q 'xdebug.client_host=' {} \; -delete -print
|
|
|
|
|
|
|
|
# ignore test with erratic result
|
|
|
|
|
|
|
|
rm tests/debugger/start_with_request_default_no_env.phpt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check extension version
|
|
|
|
# Check extension version
|
|
|
|
ver=$(sed -n '/XDEBUG_VERSION/{s/.* "//;s/".*$//;p}' php_xdebug.h)
|
|
|
|
ver=$(sed -n '/XDEBUG_VERSION/{s/.* "//;s/".*$//;p}' php_xdebug.h)
|
|
|
|
if test "$ver" != "%{upstream_version}%{?upstream_prever}%{?gh_date:-dev}"; then
|
|
|
|
if test "$ver" != "%{upstream_version}%{?upstream_prever}%{?gh_date:-dev}"; then
|
|
|
@ -190,10 +185,14 @@ done
|
|
|
|
cd NTS
|
|
|
|
cd NTS
|
|
|
|
: Upstream test suite NTS extension
|
|
|
|
: Upstream test suite NTS extension
|
|
|
|
|
|
|
|
|
|
|
|
%ifarch %{ix86}
|
|
|
|
# ignore tests relying on DNS
|
|
|
|
|
|
|
|
find tests -type f -exec grep -q 'xdebug.client_host=' {} \; -delete -print
|
|
|
|
|
|
|
|
# ignore test with erratic result
|
|
|
|
|
|
|
|
rm tests/debugger/start_with_request_default_no_env.phpt
|
|
|
|
# see https://bugs.xdebug.org/view.php?id=2048
|
|
|
|
# see https://bugs.xdebug.org/view.php?id=2048
|
|
|
|
rm tests/base/bug02036.phpt
|
|
|
|
rm tests/base/bug02036.phpt
|
|
|
|
%endif
|
|
|
|
# Erratic result
|
|
|
|
|
|
|
|
rm tests/debugger/bug00998-ipv6.phpt
|
|
|
|
|
|
|
|
|
|
|
|
# bug00886 is marked as slow as it uses a lot of disk space
|
|
|
|
# bug00886 is marked as slow as it uses a lot of disk space
|
|
|
|
TEST_OPTS="-q -x --show-diff"
|
|
|
|
TEST_OPTS="-q -x --show-diff"
|
|
|
@ -222,6 +221,12 @@ REPORT_EXIT_STATUS=1 \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Mar 29 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.1.4-1
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 9.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 16 2022 Remi Collet <rcollet@redhat.com> - 3.1.4-1
|
|
|
|
|
|
|
|
- update to 3.1.4 for PHP 8.1 #2070040
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Dec 10 2021 Remi Collet <rcollet@redhat.com> - 3.1.2-1
|
|
|
|
* Fri Dec 10 2021 Remi Collet <rcollet@redhat.com> - 3.1.2-1
|
|
|
|
- update to 3.1.2 rhbz#2030322
|
|
|
|
- update to 3.1.2 rhbz#2030322
|
|
|
|
|
|
|
|
|
|
|
|