summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-03-06 15:34:39 +0100
committerRemi Collet <fedora@famillecollet.com>2017-03-06 15:34:39 +0100
commitf72eea8b9b4056eb7d1ae6f5075c9d5700170516 (patch)
treea537404b0984b6dfc60e0a341882596cecb6fc6c
parentcbd9471fb2c072580a7f2e6a56f9b1bd838bfff9 (diff)
php-pecl-swoole: f26
-rw-r--r--php-pecl-swoole-dev.spec9
-rw-r--r--php-pecl-swoole.spec10
2 files changed, 17 insertions, 2 deletions
diff --git a/php-pecl-swoole-dev.spec b/php-pecl-swoole-dev.spec
index 494c4a0..12d87cc 100644
--- a/php-pecl-swoole-dev.spec
+++ b/php-pecl-swoole-dev.spec
@@ -31,7 +31,7 @@
Summary: PHP's asynchronous concurrent distributed networking framework
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 2.0.6
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 3%{?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}
@@ -132,6 +132,9 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
+%if 0%{?fedora} >= 26
+sed -e 's/SSL_library_init/OPENSSL_init_ssl/' -i config.m4
+%endif
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_SWOOLE_VERSION/{s/.* "//;s/".*$//;p}' php_swoole.h)
@@ -274,6 +277,10 @@ cd ../ZTS
%changelog
+* Mon Mar 6 2017 Remi Collet <remi@remirepo.net> - 2.0.6-3
+- open https://github.com/swoole/swoole-src/issues/1118
+- open https://github.com/swoole/swoole-src/issues/1119
+
* Fri Feb 24 2017 Remi Collet <remi@remirepo.net> - 2.0.6-2
- use --enable-ringbuffer, --enable-thread and --enable-mysqlnd
diff --git a/php-pecl-swoole.spec b/php-pecl-swoole.spec
index 1aff5e7..16e2554 100644
--- a/php-pecl-swoole.spec
+++ b/php-pecl-swoole.spec
@@ -38,7 +38,7 @@
Summary: PHP's asynchronous concurrent distributed networking framework
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 1.9.6
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?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}
@@ -141,6 +141,10 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
+%if 0%{?fedora} >= 26
+sed -e 's/SSL_library_init/OPENSSL_init_ssl/' -i config.m4
+%endif
+
# 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
@@ -285,6 +289,10 @@ cd ../ZTS
%changelog
+* Mon Mar 6 2017 Remi Collet <remi@remirepo.net> - 1.9.6-2
+- fix F26 build
+- open https://github.com/swoole/swoole-src/issues/1118
+
* Fri Feb 24 2017 Remi Collet <remi@remirepo.net> - 1.9.6-1
- Update to 1.9.6 (stable)
- add --enable-ringbuffer, --enable-thread build options