Browse Source

[rpm] pre-support rhel 9

Signed-off-by: R4SAS <r4sas@i2pmail.org>
moduled
R4SAS 3 years ago
parent
commit
c42b991bc9
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 10
      contrib/rpm/i2pd-git.spec
  2. 8
      contrib/rpm/i2pd.spec

10
contrib/rpm/i2pd-git.spec

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

8
contrib/rpm/i2pd.spec

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

Loading…
Cancel
Save