mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 11:22:26 +00:00
1 file changed
+12
-1
+12
-1
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user