[rpm] update release spec

Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
r4sas committed 2026-10-20 18:10:48 +03:00
1 parent de32c8c3f5
commit 137dde2f43
1 file changed
+12 -1
+12 -1
View File
@@ -25,6 +25,14 @@ BuildRequires: systemd-units
BuildRequires: openssl-devel-engine
%endif
%if !0%{?mageia} && (0%{?rhel} && 0%{?rhel} <= 9 || 0%{?fedora} && 0%{?fedora} <= 43)
BuildRequires: boost-json
%endif
%if !0%{?mageia} && 0%{?fedora} && 0%{?fedora} <= 43
BuildRequires: boost-url
%endif
Requires: logrotate
Requires: systemd
Requires(pre): %{_sbindir}/useradd %{_sbindir}/groupadd
@@ -44,6 +52,9 @@ cd build
-DWITH_LIBRARY=OFF \
-DWITH_UPNP=ON \
-DWITH_HARDENING=ON \
%if 0%{?rhel} <= 9
-DWITH_TORRENTS=OFF \
%endif
%if 0%{?fedora} > 29
-DBUILD_SHARED_LIBS:BOOL=OFF \
.
@@ -63,7 +74,7 @@ cd build
%endif
%endif
%if 0%{?fedora} >= 44 || 0%{?eln}
%if 0%{?fedora} >= 44 || 0%{?mageia} == 9 || 0%{?mageia} > 10 || 0%{?eln}
ninja %{?_smp_mflags}
%else
make %{?_smp_mflags}