From fc907c401ce094dfc6df836b028e09a7c372c591 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 21 Aug 2023 03:59:39 +0000 Subject: automatic import of swoole --- swoole.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'swoole.spec') diff --git a/swoole.spec b/swoole.spec index 2ced918..70534ba 100644 --- a/swoole.spec +++ b/swoole.spec @@ -8,6 +8,8 @@ Source0: https://github.com/swoole/swoole-src/archive/refs/tags/v%{versio BuildRequires: php(language) >= 7.2.5 BuildRequires: php-devel BuildRequires: openssl-devel >= 1.0.2 +BuildRequires: libnghttp2-devel +BuildRequires: jemalloc-devel %description Event-driven asynchronous and concurrent networking engine with high performance for PHP. @@ -32,11 +34,16 @@ Event-driven asynchronous and concurrent networking engine with high performance %build %{_bindir}/phpize -%configure --enable-openssl --enable-sockets +%configure \ + --enable-openssl \ + --with-openssl-dir=%{_prefix} \ + --enable-sockets \ + --with-nghttp2-dir=%{_prefix} \ + --with-jemalloc-dir=%{_prefix} %make_build %install -%make_install +%make_install INSTALL_ROOT=%{buildroot} %files %license LICENSE -- cgit v1.2.3