Merge pull request 'Added more BuildRequires and smp make build' (#1) from Fix_Spec into i9

Reviewed-on: #1
i9 changed/i9/angie-1.6.2-1.el9
Arkady L. Shane 4 months ago
commit 0a29188015

@ -134,6 +134,11 @@ BuildRequires: make
BuildRequires: openssl-devel
BuildRequires: pcre2-devel
BuildRequires: zlib-devel
BuildRequires: libcurl-devel
BuildRequires: msgpack-devel
BuildRequires: perl-ExtUtils-Embed
BuildRequires: perl-macros
BuildRequires: libzstd-devel
Requires: systemd
@ -466,7 +471,7 @@ cp ../lua-nginx-module-0.10.26/README.markdown module-lua/LICENSE
--libdir=%{_builddir}/sandbox/lib \
--enable-shared=no \
--with-pic
make && make install
make %{?_smp_mflags} && make install
)
(
cd ../ModSecurity-3.0.12
@ -481,7 +486,7 @@ cp ../lua-nginx-module-0.10.26/README.markdown module-lua/LICENSE
--with-pcre2 \
--with-pic \
--with-ssdeep=%{_builddir}/sandbox
make && make install
make %{?_smp_mflags} && make install
)
_build configure_add=--add-dynamic-module=%{_builddir}/ModSecurity-nginx-1.0.3 \
cc_opt="-I%{_builddir}/sandbox/include" \

Loading…
Cancel
Save