summaryrefslogtreecommitdiffstats
path: root/php-pecl-swoole6.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-swoole6.spec')
-rw-r--r--php-pecl-swoole6.spec16
1 files changed, 10 insertions, 6 deletions
diff --git a/php-pecl-swoole6.spec b/php-pecl-swoole6.spec
index 0c13c91..7b2f8ca 100644
--- a/php-pecl-swoole6.spec
+++ b/php-pecl-swoole6.spec
@@ -53,7 +53,7 @@
%bcond_with ssh2
%bcond_with ftp
-%global upstream_version 6.2.0
+%global upstream_version 6.2.1
#global upstream_prever RC2
%global sources %{archivename}
%global _configure ../%{sources}/configure
@@ -64,17 +64,17 @@
%global forgeurl https://github.com/%{gh_vend}/%{gh_proj}
%global tag v%{upstream_version}%{?upstream_prever}
# for EL-8 to avoid TAG usage
-%global archivename %{gh_proj}-%{version}
+%global archivename %{gh_proj}-%{upstream_version}%{?upstream_prever}
Summary: PHP's asynchronous concurrent distributed networking framework
Name: %{?scl_prefix}php-pecl-%{pecl_name}6
-Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-%forgemeta
-Release: 1%{?dist}
# Extension is Apache-2.0
# BSD-3-Clause: Hiredis
# MIT: nlohmann/json, nghttp2, llhttp
License: Apache-2.0 AND BSD-3-Clause AND MIT
+Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
+Release: 1%{?dist}
+%forgemeta
URL: %{forgeurl}
Source0: %{forgesource}
@@ -215,7 +215,7 @@ cp thirdparty/llhttp/LICENSE llhttp-LICENSE
# Sanity check, really often broken
extver=$(sed -n '/#define SWOOLE_VERSION /{s/.* "//;s/".*$//;p}' include/swoole_version.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
- : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}.
+ : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}
exit 1
fi
cd ..
@@ -364,6 +364,7 @@ cd ../ZTS
%license %{sources}/LICENSE
%license %{sources}/*-COPYING
%license %{sources}/*-LICENSE
+%doc %{sources}/composer.json
%doc %{sources}/*.md
%config(noreplace) %{php_inidir}/%{ini_name}
@@ -387,6 +388,9 @@ cd ../ZTS
%changelog
+* Sat May 16 2026 Remi Collet <remi@remirepo.net> - 6.2.1-1
+- update to 6.2.1
+
* Wed Mar 11 2026 Remi Collet <remi@remirepo.net> - 6.2.0-1
- update to 6.2.0
- drop pear/pecl dependency