From ed6d49ed35ad1ce5fd5a2c75246b3d566ecd740b Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 21 Aug 2023 04:47:26 +0000 Subject: automatic import of swoole --- swoole.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/swoole.spec b/swoole.spec index c8f0243..28cda7a 100644 --- a/swoole.spec +++ b/swoole.spec @@ -11,12 +11,13 @@ BuildRequires: php(language) >= 8.0 BuildRequires: php-cli >= 8.0 BuildRequires: php-devel BuildRequires: openssl-devel >= 1.0.2 -BuildRequires: c-ares-devel BuildRequires: curl-devel +BuildRequires: c-ares-devel BuildRequires: libnghttp2-devel BuildRequires: brotli-devel BuildRequires: libpq-devel -Requires: php(language) >= 8.0 +Requires: php(api) = %{php_core_api} +Requires: php-curl %description Event-driven asynchronous and concurrent networking engine with high performance for PHP. @@ -70,11 +71,6 @@ EOF install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} -%check -%{__php} --no-php-ini \ - --define extension=%{buildroot}%{php_extdir}/%{name}.so --modules \ -# --modules | grep '^%{name}$' - %files %license LICENSE %{php_inidir}/%{ini_name} -- cgit v1.2.3