1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-23 17:34:21 +00:00

[rpm] fix build on fedora 37

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2022-04-30 16:26:20 +03:00
parent 1f5ed89a88
commit 9e5b4e14c9
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
2 changed files with 8 additions and 0 deletions

View File

@ -58,7 +58,9 @@ cd build
%if 0%{?fedora} >= 35 %if 0%{?fedora} >= 35
%if 0%{?fedora} < 37
pushd redhat-linux-build pushd redhat-linux-build
%endif
%else %else
%if 0%{?fedora} >= 33 %if 0%{?fedora} >= 33
pushd %{_target_platform} pushd %{_target_platform}
@ -83,6 +85,8 @@ popd
pushd build pushd build
%if 0%{?fedora} >= 35 %if 0%{?fedora} >= 35
%if 0%{?fedora} < 37
%endif
pushd redhat-linux-build pushd redhat-linux-build
%else %else
%if 0%{?fedora} >= 33 %if 0%{?fedora} >= 33

View File

@ -55,7 +55,9 @@ cd build
%endif %endif
%if 0%{?fedora} >= 35 %if 0%{?fedora} >= 35
%if 0%{?fedora} < 37
pushd redhat-linux-build pushd redhat-linux-build
%endif
%else %else
%if 0%{?fedora} >= 33 %if 0%{?fedora} >= 33
pushd %{_target_platform} pushd %{_target_platform}
@ -80,7 +82,9 @@ popd
pushd build pushd build
%if 0%{?fedora} >= 35 %if 0%{?fedora} >= 35
%if 0%{?fedora} < 37
pushd redhat-linux-build pushd redhat-linux-build
%endif
%else %else
%if 0%{?fedora} >= 33 %if 0%{?fedora} >= 33
pushd %{_target_platform} pushd %{_target_platform}