diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-07-28 12:03:29 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-07-28 12:03:29 +0200 |
commit | 7a7496d927a79602a0030114b74af8a6b5fb8f9c (patch) | |
tree | 89b6660b6f5bb6e40aefea3f444dc0c0360b13f1 /php-pecl-swoole.spec | |
parent | e3aea2dc42987bfcc6b46f7a920a543f41adbe3a (diff) |
php-pecl-swoole: rebuild with upstream patch
Diffstat (limited to 'php-pecl-swoole.spec')
-rw-r--r-- | php-pecl-swoole.spec | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/php-pecl-swoole.spec b/php-pecl-swoole.spec index 503f91a..ef69ddd 100644 --- a/php-pecl-swoole.spec +++ b/php-pecl-swoole.spec @@ -26,8 +26,7 @@ %endif %if 0%{?fedora} >= 22 || 0%{?rhel} >= 6 -# See https://github.com/swoole/swoole-src/issues/787 -%global with_nghttpd2 0 +%global with_nghttpd2 1 %else %global with_nghttpd2 0 %endif @@ -36,12 +35,14 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.8.8 -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} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Patch0: %{pecl_name}-upstream.patch + BuildRequires: %{?scl_prefix}php-devel >= 5.3.10 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-sockets @@ -136,6 +137,7 @@ sed -e 's/role="test"/role="src"/' \ cd NTS +%patch0 -p1 -b .upstream # Sanity check, really often broken extver=$(sed -n '/#define PHP_SWOOLE_VERSION/{s/.* "//;s/".*$//;p}' php_swoole.h) @@ -270,6 +272,9 @@ cd ../ZTS %changelog +* Thu Jul 28 2016 Remi Collet <remi@fedoraproject.org> - 1.8.8-2 +- add upstream patch and add back --enable-http2 build option + * Thu Jul 28 2016 Remi Collet <remi@fedoraproject.org> - 1.8.8-1 - Update to 1.8.8 - drop --enable-http2 build option (broken) |