diff options
author | Remi Collet <remi@remirepo.net> | 2025-09-01 07:25:42 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-09-01 07:25:42 +0200 |
commit | bd61b6c9dc1c5985b36ab336de49662483aaac45 (patch) | |
tree | 5d7438791b9121a1383ee2ae8f38a5abdbfcea3a /php-pecl-swoole6.spec | |
parent | e63ba4a3beb0fdbfce0ddd42aea81949d3c73ca8 (diff) |
enable swoole stdext support
Diffstat (limited to 'php-pecl-swoole6.spec')
-rw-r--r-- | php-pecl-swoole6.spec | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/php-pecl-swoole6.spec b/php-pecl-swoole6.spec index 05c0376..8b10454 100644 --- a/php-pecl-swoole6.spec +++ b/php-pecl-swoole6.spec @@ -48,8 +48,8 @@ %bcond_without curl %bcond_without nghttpd2 -%global upstream_version 6.0.2 -#global upstream_prever RC1 +%global upstream_version 6.1.0 +%global upstream_prever RC1 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} %global _configure ../%{sources}/configure @@ -59,7 +59,7 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} # Extension is Apache-2.0 # BSD-3-Clause: Hiredis -# MIT: nlohmann/json, nghttp2 +# MIT: nlohmann/json, nghttp2, llhttp License: Apache-2.0 AND BSD-3-Clause AND MIT URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz @@ -202,6 +202,7 @@ rm -r thirdparty/nghttp2 %else cp -p thirdparty/nghttp2/COPYING nghttp2-COPYING %endif +cp thirdparty/llhttp/LICENSE llhttp-LICENSE # Sanity check, really often broken extver=$(sed -n '/#define SWOOLE_VERSION /{s/.* "//;s/".*$//;p}' include/swoole_version.h) @@ -239,6 +240,7 @@ EOF peclbuild() { %configure \ --enable-swoole \ + --enable-swoole-stdext \ --enable-sockets \ --enable-trace-log \ --enable-openssl \ @@ -352,6 +354,7 @@ cd ../ZTS %files %license %{sources}/LICENSE %license %{sources}/*-COPYING +%license %{sources}/*-LICENSE %doc %{pecl_docdir}/%{pecl_name}/*md %{pecl_xmldir}/%{name}.xml @@ -366,7 +369,7 @@ cd ../ZTS %files devel %doc %{pecl_testdir}/%{pecl_name} -%doc %{pecl_docdir}/%{pecl_name}/core-tests +%doc %{pecl_docdir}/%{pecl_name}/Dockerfile %doc %{pecl_docdir}/%{pecl_name}/docs %doc %{pecl_docdir}/%{pecl_name}/examples %doc %{pecl_docdir}/%{pecl_name}/gdbinit @@ -379,6 +382,10 @@ cd ../ZTS %changelog +* Mon Sep 1 2025 Remi Collet <remi@remirepo.net> - 6.1.0~RC1-1 +- update to 6.1.0RC1 +- enable swoole stdext support + * Sun Mar 23 2025 Remi Collet <remi@remirepo.net> - 6.0.2-1 - update to 6.0.2 |