[rpm] try fix build on fedora rawhide

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2021-08-22 22:44:04 +03:00
parent b830babcf4
commit 33355c0abe
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2
2 changed files with 26 additions and 14 deletions

View File

@ -82,9 +82,13 @@ make %{?_smp_mflags}
%install
pushd build
%if 0%{?fedora} >= 36
pushd redhat-linux-build
%else
%if 0%{?fedora} >= 33
pushd %{_target_platform}
%endif
%endif
%if 0%{?mageia}
pushd build

View File

@ -54,9 +54,13 @@ cd build
%endif
%endif
%if 0%{?fedora} >= 36
pushd redhat-linux-build
%else
%if 0%{?fedora} >= 33
pushd %{_target_platform}
%endif
%endif
%if 0%{?mageia} > 7
pushd build
@ -75,9 +79,13 @@ popd
%install
pushd build
%if 0%{?fedora} >= 36
pushd redhat-linux-build
%else
%if 0%{?fedora} >= 33
pushd %{_target_platform}
%endif
%endif
%if 0%{?mageia}
pushd build