From 1faff2e7fa34e711c830b02f40046e57395c47b5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 29 Dec 2017 18:20:55 +0100 Subject: Update to 2.0.12 (stable) drop PHP 5 support --- php-pecl-swoole2.spec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'php-pecl-swoole2.spec') diff --git a/php-pecl-swoole2.spec b/php-pecl-swoole2.spec index 3e747a0..730add3 100644 --- a/php-pecl-swoole2.spec +++ b/php-pecl-swoole2.spec @@ -30,16 +30,14 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name}2 -Version: 2.0.11 +Version: 2.0.12 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz -Patch0: https://github.com/swoole/swoole-src/commit/5945408fc74922a25a5d3c1500363ce474eb87dc.patch - -BuildRequires: %{?scl_prefix}php-devel >= 5.5 +BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-sockets BuildRequires: %{?scl_prefix}php-mysqlnd @@ -79,14 +77,10 @@ Obsoletes: php54-pecl-%{pecl_name}2 <= %{version} Obsoletes: php54w-pecl-%{pecl_name}2 <= %{version} Obsoletes: php55u-pecl-%{pecl_name}2 <= %{version} Obsoletes: php55w-pecl-%{pecl_name}2 <= %{version} -%if "%{php_version}" > "5.6" Obsoletes: php56u-pecl-%{pecl_name}2 <= %{version} Obsoletes: php56w-pecl-%{pecl_name}2 <= %{version} -%endif -%if "%{php_version}" > "7.0" Obsoletes: php70u-pecl-%{pecl_name}2 <= %{version} Obsoletes: php70w-pecl-%{pecl_name}2 <= %{version} -%endif %if "%{php_version}" > "7.1" Obsoletes: php71u-pecl-%{pecl_name}2 <= %{version} Obsoletes: php71w-pecl-%{pecl_name}2 <= %{version} @@ -153,8 +147,6 @@ sed -e '/examples/s/role="src"/role="doc"/' \ cd NTS -%patch0 -p1 -b .upstream - # Sanity check, really often broken extver=$(sed -n '/#define PHP_SWOOLE_VERSION/{s/.* "//;s/".*$//;p}' php_swoole.h) if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then @@ -311,6 +303,10 @@ cd ../ZTS %changelog +* Fri Dec 29 2017 Remi Collet - 2.0.12-1 +- Update to 2.0.12 (stable) +- drop PHP 5 support + * Thu Dec 28 2017 Remi Collet - 2.0.11-1 - Update to 2.0.11 (stable) - add upstream patch to fix broken build with PHP 5.x -- cgit