diff --git a/swoole.spec b/swoole.spec index 3bf36ab09e9bf25efe71ec701e74f09453ec1fda..b868d6973ac68755c2e62ed1a2e376063f5394b2 100644 --- a/swoole.spec +++ b/swoole.spec @@ -1,14 +1,14 @@ %global ini_name 40-swoole.ini Name: swoole -Version: 5.1.6 +Version: 6.0.0 Release: 1 Summary: Event-driven asynchronous and concurrent networking engine with high performance for PHP License: Apache-2.0 URL: https://www.swoole.com/ Source0: https://github.com/swoole/swoole-src/archive/refs/tags/v%{version}.tar.gz -BuildRequires: (php(language) >= 8.0 with php(language) < 8.4) -BuildRequires: php-cli >= 8.0 +BuildRequires: (php(language) >= 8.1 with php(language) < 8.5) +BuildRequires: php-cli >= 8.1 BuildRequires: php-devel BuildRequires: openssl-devel >= 1.0.2 BuildRequires: curl-devel @@ -17,6 +17,8 @@ BuildRequires: libnghttp2-devel BuildRequires: pkgconfig(libbrotlienc) BuildRequires: pkgconfig(libbrotlidec) BuildRequires: libpq-devel +BuildRequires: unixODBC-devel +BuildRequires: pkgconfig(sqlite3) >= 3.7.7 Requires: php(api) = %{php_core_api} Requires: php-curl @@ -41,7 +43,7 @@ Event-driven asynchronous and concurrent networking engine with high performance %package devel Summary: Development files for %{name} Requires: %{name} = %{version} -Requires: (php-devel >= 8.0 with php-devel < 8.4) +Requires: (php-devel >= 8.1 with php-devel < 8.5) %description devel Development files for %{name}. @@ -64,7 +66,9 @@ EOF --enable-cares \ --enable-swoole-curl \ --with-nghttp2-dir=%{_prefix} \ - --enable-swoole-pgsql + --enable-swoole-pgsql \ + --with-swoole-odbc="unixODBC,%{_prefix}" \ + --enable-swoole-sqlite %make_build %install @@ -81,6 +85,9 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} %{_includedir}/php/ext/swoole %changelog +* Tue Dec 17 2024 Funda Wang - 6.0.0-1 +- update to 6.0.0 + * Wed Dec 04 2024 Funda Wang - 5.1.6-1 - update to 5.1.6 - 5.1.x does not support php 8.4 as stated by upstream diff --git a/v5.1.6.tar.gz b/v5.1.6.tar.gz deleted file mode 100644 index a63cf8cd6277d4b58c8f84d69d6da63e330bc7fa..0000000000000000000000000000000000000000 Binary files a/v5.1.6.tar.gz and /dev/null differ diff --git a/v6.0.0.tar.gz b/v6.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..98cfc6a9ffca7224b93dfbe4b62ec248f1b1018d Binary files /dev/null and b/v6.0.0.tar.gz differ