Added more BuildRequires and smp make build #1

Merged
tigro merged 2 commits from Fix_Spec into i9 2 months ago

@ -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
tigro commented 2 months ago
Review

Тут нужен libzstd-devel вместо python-zstandard

Тут нужен libzstd-devel вместо 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