diff --git a/contrib/rpm/i2pd-git.spec b/contrib/rpm/i2pd-git.spec index 2c9a431b..f035c658 100644 --- a/contrib/rpm/i2pd-git.spec +++ b/contrib/rpm/i2pd-git.spec @@ -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} diff --git a/contrib/rpm/i2pd.spec b/contrib/rpm/i2pd.spec index b312d21e..574d0718 100644 --- a/contrib/rpm/i2pd.spec +++ b/contrib/rpm/i2pd.spec @@ -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