[rpm] pre-support rhel 9

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2022-04-30 17:03:59 +03:00
parent ec08333bf9
commit c42b991bc9
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2
2 changed files with 17 additions and 1 deletions

View File

@ -57,6 +57,10 @@ cd build
%endif
%if 0%{?rhel} == 9
pushd redhat-linux-build
%endif
%if 0%{?fedora} >= 35
%if 0%{?fedora} < 37
pushd redhat-linux-build
@ -73,6 +77,10 @@ pushd build
make %{?_smp_mflags}
%if 0%{?rhel} == 9
popd
%endif
%if 0%{?fedora} >= 33
%if 0%{?fedora} < 37
popd
@ -88,8 +96,8 @@ pushd build
%if 0%{?fedora} >= 35
%if 0%{?fedora} < 37
%endif
pushd redhat-linux-build
%endif
%else
%if 0%{?fedora} >= 33
pushd %{_target_platform}

View File

@ -54,6 +54,10 @@ cd build
%endif
%endif
%if 0%{?rhel} == 9
pushd redhat-linux-build
%endif
%if 0%{?fedora} >= 35
%if 0%{?fedora} < 37
pushd redhat-linux-build
@ -70,6 +74,10 @@ pushd build
make %{?_smp_mflags}
%if 0%{?rhel} == 9
popd
%endif
%if 0%{?fedora} >= 33
%if 0%{?fedora} < 37
popd