[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
No known key found for this signature in database
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} < 37
pushd redhat-linux-build
%endif
%else
%if 0%{?fedora} >= 33
pushd %{_target_platform}
@ -83,6 +85,8 @@ popd
pushd build
%if 0%{?fedora} >= 35
%if 0%{?fedora} < 37
%endif
pushd redhat-linux-build
%else
%if 0%{?fedora} >= 33

View file

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