diff --git a/php-pecl-xdebug3.spec b/php-pecl-xdebug3.spec index 51a7360..e28f2ff 100644 --- a/php-pecl-xdebug3.spec +++ b/php-pecl-xdebug3.spec @@ -30,7 +30,7 @@ Name: php-pecl-xdebug3 Summary: Provides functions for function traces and profiling Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}} -Release: 2%{?dist} +Release: 3%{?dist} Source0: https://github.com/%{pecl_name}/%{pecl_name}/archive/%{gh_commit}/%{pecl_name}-%{upstream_version}%{?upstream_prever}-%{gh_short}.tar.gz # The Xdebug License, version 1.01 @@ -92,6 +92,9 @@ mv NTS/package.xml . sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml cd NTS +# ignore tests relying on DNS +find tests -type f -exec grep -q 'xdebug.client_host=' {} \; -delete -print + # Check extension version ver=$(sed -n '/XDEBUG_VERSION/{s/.* "//;s/".*$//;p}' php_xdebug.h) if test "$ver" != "%{upstream_version}%{?upstream_prever}%{?gh_date:-dev}"; then @@ -212,6 +215,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Jul 8 2021 Remi Collet - 3.0.4-3 +- ignore tests relying on DNS #1979841 + * Tue Jun 22 2021 Mohan Boddu - 3.0.4-2 - Rebuilt for RHEL 9 BETA for openssl 3.0 Related: rhbz#1971065