diff options
author | CoprDistGit <infra@openeuler.org> | 2023-08-21 03:59:39 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-08-21 03:59:39 +0000 |
commit | fc907c401ce094dfc6df836b028e09a7c372c591 (patch) | |
tree | b218e3d9a76747c977962993744a92a2fdd667ac | |
parent | 7693992fce0901abfd0e885fa0d7d0bb90f709cf (diff) |
automatic import of swoole
-rw-r--r-- | swoole.spec | 11 |
1 files changed, 9 insertions, 2 deletions
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 |