diff options
Diffstat (limited to 'php-pecl-swoole2.spec')
-rw-r--r-- | php-pecl-swoole2.spec | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/php-pecl-swoole2.spec b/php-pecl-swoole2.spec index 730add3..84e4a6f 100644 --- a/php-pecl-swoole2.spec +++ b/php-pecl-swoole2.spec @@ -6,6 +6,10 @@ # # Please, preserve the changelog entries # + +# we don't want -z defs linker flag +%undefine _strict_symbol_defs_build + %if 0%{?scl:1} %global sub_prefix %{scl_prefix} %scl_package php-pecl-swoole @@ -30,10 +34,9 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name}2 -Version: 2.0.12 +Version: 2.1.0 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 @@ -71,12 +74,6 @@ Conflicts: %{?scl_prefix}php-pecl-%{pecl_name} < 2 %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff -Obsoletes: php53-pecl-%{pecl_name}2 <= %{version} -Obsoletes: php53u-pecl-%{pecl_name}2 <= %{version} -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} Obsoletes: php56u-pecl-%{pecl_name}2 <= %{version} Obsoletes: php56w-pecl-%{pecl_name}2 <= %{version} Obsoletes: php70u-pecl-%{pecl_name}2 <= %{version} @@ -124,7 +121,6 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %package devel Summary: %{name} developer files (header) -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{?scl_prefix}php-devel%{?_isa} %if "%{?scl_prefix}" != "%{?sub_prefix}" @@ -169,6 +165,7 @@ extension=%{pecl_name}.so ;swoole.aio_thread_num = 2 ;swoole.display_errors = On ;swoole.use_namespace = On +:swoole.use_shortname = On ;swoole.fast_serialize = Off ;swoole.unixsock_buffer_size = 8388608 EOF @@ -303,6 +300,10 @@ cd ../ZTS %changelog +* Fri Feb 9 2018 Remi Collet <remi@remirepo.net> - 2.1.0-1 +- Update to 2.1.0 +- add swoole.use_shortname option in provided configuration + * Fri Dec 29 2017 Remi Collet <remi@remirepo.net> - 2.0.12-1 - Update to 2.0.12 (stable) - drop PHP 5 support |