From 770c98b410db7450eab07c557065aaa8eee7cc50 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 15 Jun 2017 06:40:35 +0200 Subject: v2.6.0-dev for PHP 7.2 --- php-pecl-xdebug.spec | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/php-pecl-xdebug.spec b/php-pecl-xdebug.spec index 5abba77..015e161 100644 --- a/php-pecl-xdebug.spec +++ b/php-pecl-xdebug.spec @@ -16,24 +16,20 @@ %global pecl_name xdebug %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} -%global gh_commit 48fc95c76a246d3fdc2c5410ee08bdce5f52f228 +%global gh_commit d82879d022cea73287b86e8b909ec75910f87fa5 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) -#global gh_date 20161004 +%global gh_date 20170601 %global with_tests 0%{?_with_tests:1} #global prever rc1 # XDebug should be loaded after opcache -%if "%{php_version}" < "5.6" -%global ini_name %{pecl_name}.ini -%else %global ini_name 15-%{pecl_name}.ini -%endif Name: %{?scl_prefix}php-pecl-xdebug Summary: PECL package for debugging PHP scripts -Version: 2.5.4 +Version: 2.6.0 %if 0%{?gh_date:1} -Release: 0.5.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.1.%{gh_date}.%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif @@ -45,8 +41,8 @@ Group: Development/Languages URL: http://xdebug.org/ Source0: https://github.com/%{pecl_name}/%{pecl_name}/archive/%{gh_commit}/%{pecl_name}-%{version}%{?prever}-%{gh_short}.tar.gz -BuildRequires: %{?scl_prefix}php-pear > 1.9.1 -BuildRequires: %{?scl_prefix}php-devel > 5.5 +BuildRequires: %{?scl_prefix}php-devel > 7 +BuildRequires: %{?scl_prefix}php-pear BuildRequires: libedit-devel BuildRequires: libtool %if %{with_tests} @@ -68,22 +64,20 @@ Obsoletes: php53-pecl-%{pecl_name} <= %{version} Obsoletes: php53u-pecl-%{pecl_name} <= %{version} Obsoletes: php54-pecl-%{pecl_name} <= %{version} Obsoletes: php54w-pecl-%{pecl_name} <= %{version} -%if "%{php_version}" > "5.5" Obsoletes: php55u-pecl-%{pecl_name} <= %{version} Obsoletes: php55w-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "5.6" Obsoletes: php56u-pecl-%{pecl_name} <= %{version} Obsoletes: php56w-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.0" Obsoletes: php70u-pecl-%{pecl_name} <= %{version} Obsoletes: php70w-pecl-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "7.1" Obsoletes: php71u-pecl-%{pecl_name} <= %{version} Obsoletes: php71w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.2" +Obsoletes: php72u-pecl-%{pecl_name} <= %{version} +Obsoletes: php72w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -291,6 +285,10 @@ fi %changelog +* Thu Jun 15 2017 Remi Collet - 2.6.0-0.1.20170601.d82879d +- update to 2.6.0-dev for PHP 7.2 +- raise dependency on PHP 7 + * Mon May 15 2017 Remi Collet - 2.5.4-1 - update to 2.5.4 -- cgit