diff --git a/swoole-5.1.3-fix-brotli-libname.patch b/swoole-5.1.3-fix-brotli-libname.patch deleted file mode 100644 index 103da1e66b38ce8e6ec93b6534520f7df5a93a7a..0000000000000000000000000000000000000000 --- a/swoole-5.1.3-fix-brotli-libname.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/config.m4.orig 2024-07-31 23:13:08.753608500 +0800 -+++ b/config.m4 2024-07-31 23:13:27.803723100 +0800 -@@ -842,7 +842,6 @@ - if test "$PHP_BROTLI" != "no" || test "$PHP_BROTLI_DIR" != "no"; then - if test "$PHP_BROTLI_DIR" != "no"; then - PHP_ADD_INCLUDE("${PHP_BROTLI_DIR}/include") -- PHP_ADD_LIBRARY_WITH_PATH(brotli, "${PHP_BROTLI_DIR}/${PHP_LIBDIR}") - PHP_ADD_LIBRARY_WITH_PATH(brotlienc, "${PHP_BROTLI_DIR}/${PHP_LIBDIR}") - PHP_ADD_LIBRARY_WITH_PATH(brotlidec, "${PHP_BROTLI_DIR}/${PHP_LIBDIR}") - else -@@ -981,7 +980,6 @@ - AC_DEFINE(SW_HAVE_COMPRESSION, 1, [have compression]) - AC_DEFINE(SW_HAVE_BROTLI, 1, [have brotli encoder]) - PHP_ADD_INCLUDE("${PHP_BROTLI_DIR}/include") -- PHP_ADD_LIBRARY_WITH_PATH(brotli, "${PHP_BROTLI_DIR}/${PHP_LIBDIR}") - PHP_ADD_LIBRARY_WITH_PATH(brotlienc, "${PHP_BROTLI_DIR}/${PHP_LIBDIR}") - PHP_ADD_LIBRARY_WITH_PATH(brotlidec, "${PHP_BROTLI_DIR}/${PHP_LIBDIR}") - fi diff --git a/swoole-5.1.3.tgz b/swoole-5.1.3.tgz deleted file mode 100644 index bb8304735c31ff1a6b346c9380e69d2f44e305e6..0000000000000000000000000000000000000000 Binary files a/swoole-5.1.3.tgz and /dev/null differ diff --git a/swoole.spec b/swoole.spec index 9819e9a84c1b1bb299adedf7f95b64c843ed57c5..7434d666accb10df177023de8da73e9420f1c197 100644 --- a/swoole.spec +++ b/swoole.spec @@ -1,13 +1,12 @@ %global ini_name 40-swoole.ini Name: swoole -Version: 5.1.3 +Version: 5.1.4 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/releases/download/v%{version}/%{name}-%{version}.tgz -Patch0: swoole-5.1.3-fix-brotli-libname.patch +Source0: https://github.com/swoole/swoole-src/archive/refs/tags/v%{version}.tar.gz BuildRequires: php(language) >= 8.0 BuildRequires: php-cli >= 8.0 BuildRequires: php-devel @@ -48,7 +47,7 @@ Requires: php-devel >= 8.0 Development files for %{name}. %prep -%autosetup -p1 -n %{name}-%{version} +%autosetup -p1 -n %{name}-src-%{version} # Drop in the bit of configuration cat << 'EOF' | tee %{ini_name} @@ -82,6 +81,9 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} %{_includedir}/php/ext/swoole %changelog +* Wed Aug 28 2024 Funda Wang - 5.1.4-1 +- update to 5.1.4 + * Wed Jul 31 2024 Funda Wang - 5.1.3-1 - update to version 5.1.3 diff --git a/swoole.yaml b/swoole.yaml new file mode 100644 index 0000000000000000000000000000000000000000..53bf2acdcfc3445b4947f409daf1a09eaf58c0bc --- /dev/null +++ b/swoole.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: swoole/swoole-src +tag_prefix: ^v +seperator: . diff --git a/v5.1.4.tar.gz b/v5.1.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..37c58a1ece17a99f5f44780042045205b885a71f Binary files /dev/null and b/v5.1.4.tar.gz differ