Fix_Spec
ed 3 months ago
parent d1659bb53f
commit 2c4974bbf6

@ -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: python-zstandard
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