summaryrefslogtreecommitdiffstats
path: root/php-pecl-openswoole.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-openswoole.spec')
-rw-r--r--php-pecl-openswoole.spec25
1 files changed, 11 insertions, 14 deletions
diff --git a/php-pecl-openswoole.spec b/php-pecl-openswoole.spec
index 41e2804..03ea17a 100644
--- a/php-pecl-openswoole.spec
+++ b/php-pecl-openswoole.spec
@@ -28,25 +28,20 @@
%endif
%bcond_without pgsql
-%global upstream_version 4.11.1
+%global upstream_version 4.12.1
#global upstream_prever RC2
Summary: PHP's asynchronous concurrent distributed networking framework
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
-# Extension is ASL 2.0
-# Hiredis is BSD
-License: ASL 2.0 and BSD
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+# SPDX: extension is Apache-2.0
+# hiredis is BSD-3-Clause
+License: Apache-2.0 AND BSD-3-Clause
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
-# git checkout 4.x
-# git diff v4.11.1 -- ext-src/ include/ thirdparty/ src/
-# remove include/swoole_version.h
-Patch0: %{pecl_name}-php82.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?dtsprefix}gcc-c++
@@ -144,10 +139,6 @@ sed \
cd NTS
-%if "%{php_version}" > "8.2"
-%patch0 -p1 -b .up
-%endif
-
cp -p thirdparty/hiredis/COPYING hiredis-COPYING
cp -p thirdparty/nghttp2/COPYING nghttp2-COPYING
@@ -322,6 +313,12 @@ cd ../ZTS
%changelog
+* Wed Dec 21 2022 Remi Collet <remi@remirepo.net> - 4.12.1-1
+- update to 4.12.1
+
+* Mon Oct 3 2022 Remi Collet <remi@remirepo.net> - 4.12.0-1
+- update to 4.12.0
+
* Fri Sep 16 2022 Remi Collet <remi@remirepo.net> - 4.11.1-2
- add upstream patches for PHP 8.2