diff options
-rw-r--r-- | php-pecl-xdebug3.spec | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/php-pecl-xdebug3.spec b/php-pecl-xdebug3.spec index 389d54d..d8bbcf7 100644 --- a/php-pecl-xdebug3.spec +++ b/php-pecl-xdebug3.spec @@ -21,13 +21,13 @@ %global pie_proj xdebug %global pecl_name xdebug %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} -%global gh_commit 4085f1421d54aa60c40fe334f5c7a118a045200f +%global gh_commit 09f1713aa69c95d3cbe4644c30fcd2fd60ae8d90 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) # version/release -%global upstream_version 3.4.5 -#global upstream_prever beta1 -%global upstream_lower %(echo %{upstream_prever} | tr '[:upper:]' '[:lower:]') +%global upstream_version 3.5.0 +%global upstream_prever -dev +%global upstream_lower DEV %global sources src %global _configure ../%{sources}/configure @@ -57,10 +57,13 @@ BuildRequires: pkgconfig(zlib) >= 1.2.9 Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} +# Extension Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} +# PECL Provides: %{?scl_prefix}php-pecl(Xdebug) = %{version} Provides: %{?scl_prefix}php-pecl(Xdebug)%{?_isa} = %{version} +# PIE Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version} Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version} @@ -68,6 +71,19 @@ Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name} < 3 Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} +%if 0%{?rhel} >= 10 && "%{?vendeur}" == "remi" && 0%{!?scl:1} +%if "%{php_version}" >= "8.5" +Obsoletes: php8.4-pecl-xdebug3 < %{version}-%{release} +Obsoletes: php8.5-pecl-xdebug3 < %{version}-%{release} +Provides: php8.5-pecl-xdebug3 = %{version}-%{release} +Provides: php8.5-pecl-xdebug3%{?_isa} = %{version}-%{release} +%elif "%{php_version}" >= "8.4" +Obsoletes: php8.4-pecl-xdebug3 < %{version}-%{release} +Provides: php8.4-pecl-xdebug3 = %{version}-%{release} +Provides: php8.4-pecl-xdebug3%{?_isa} = %{version}-%{release} +%endif +%endif + %description The Xdebug extension helps you debugging your script by providing a lot of @@ -232,6 +248,8 @@ cd %{sources} rm tests/profiler/bug02001-no-zlib-compression.phpt rm tests/tracing/start_no_zlib_compression.phpt %endif +# test out of tests directory +rm -f *.phpt # parallelism issue rm tests/tracing/bug01875-002.phpt @@ -262,6 +280,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Sep 18 2025 Remi Collet <remi@remirepo.net> - 3.5.0~DEV-1 +- update to 3.5.0-dev + * Tue Jul 15 2025 Remi Collet <remi@remirepo.net> - 3.4.5-1 - update to 3.4.5 |