[RPM] fix build on fedora >= 33

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2020-10-29 00:38:47 +03:00
parent 5d256e1d80
commit 812d312a9e
No known key found for this signature in database
GPG key ID: 66F6C87B98EBCFE2

View file

@ -56,14 +56,23 @@ cd build
%endif %endif
%endif %endif
%if 0%{?mageia} > 7 %if 0%{?fedora} >= 33
pushd build pushd %{_arch}-redhat-linux-gnu
make %{?_smp_mflags}
popd
%else
make %{?_smp_mflags}
%endif %endif
%if 0%{?mageia} > 7
pushd build
%endif
make %{?_smp_mflags}
%if 0%{?fedora} >= 33
popd
%endif
%if 0%{?mageia} > 7
popd
%endif
%install %install
pushd build pushd build