summaryrefslogtreecommitdiffstats
path: root/php-pecl-xdebug3.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-xdebug3.spec')
-rw-r--r--php-pecl-xdebug3.spec24
1 files changed, 12 insertions, 12 deletions
diff --git a/php-pecl-xdebug3.spec b/php-pecl-xdebug3.spec
index 069109a..dceea97 100644
--- a/php-pecl-xdebug3.spec
+++ b/php-pecl-xdebug3.spec
@@ -21,14 +21,14 @@
%global pecl_name xdebug
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
-%global gh_commit 9f4bbc4a299e2c34033b01e9cc8e6b78d927a5bd
+%global gh_commit 7af0a499277ccdd07ee10176cd0158a06847ed77
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20201011
# version/release
-%global upstream_version 3.1.5
-#global upstream_prever beta2
-#global upstream_lower beta2
+%global upstream_version 3.2.0
+%global upstream_prever alpha1
+%global upstream_lower %(echo %{upstream_prever} | tr '[:upper:]' '[:lower:]')
# XDebug should be loaded after opcache
%global ini_name 15-%{pecl_name}.ini
@@ -50,7 +50,7 @@ Source0: https://github.com/%{pecl_name}/%{pecl_name}/archive/%{gh_commit
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel >= 7.2
+BuildRequires: %{?scl_prefix}php-devel >= 8.0
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-simplexml
BuildRequires: libtool
@@ -65,24 +65,20 @@ Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl(Xdebug) = %{version}
Provides: %{?scl_prefix}php-pecl(Xdebug)%{?_isa} = %{version}
-%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9 || "%{php_version}" > "8.0"
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}
-%else
-# A single version can be installed
-Conflicts: %{?scl_prefix}php-pecl-%{pecl_name} < 3
-%endif
%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
# older versions are obsoleted by php-pecl-xdebug v2
-%if "%{php_version}" > "8.0"
Obsoletes: php80-pecl-%{pecl_name} <= %{version}
-%endif
%if "%{php_version}" > "8.1"
Obsoletes: php81-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "8.2"
+Obsoletes: php82-pecl-%{pecl_name} <= %{version}
+%endif
%endif
@@ -273,6 +269,10 @@ fi
%changelog
+* Thu Jul 21 2022 Remi Collet <remi@remirepo.net> - 3.2.0~alpha1-1
+- update to 3.2.0alpha1
+- raise dependency on PHP 8.0
+
* Tue Jun 7 2022 Remi Collet <remi@remirepo.net> - 3.1.5-1
- update to 3.1.5