From 9e5b4e14c936d7e5d0d09e09fd3c5ca303bbf152 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Sat, 30 Apr 2022 16:26:20 +0300 Subject: [PATCH] [rpm] fix build on fedora 37 Signed-off-by: R4SAS --- contrib/rpm/i2pd-git.spec | 4 ++++ contrib/rpm/i2pd.spec | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/contrib/rpm/i2pd-git.spec b/contrib/rpm/i2pd-git.spec index 261834d8..6ca115bf 100644 --- a/contrib/rpm/i2pd-git.spec +++ b/contrib/rpm/i2pd-git.spec @@ -58,7 +58,9 @@ cd build %if 0%{?fedora} >= 35 +%if 0%{?fedora} < 37 pushd redhat-linux-build +%endif %else %if 0%{?fedora} >= 33 pushd %{_target_platform} @@ -83,6 +85,8 @@ popd pushd build %if 0%{?fedora} >= 35 +%if 0%{?fedora} < 37 +%endif pushd redhat-linux-build %else %if 0%{?fedora} >= 33 diff --git a/contrib/rpm/i2pd.spec b/contrib/rpm/i2pd.spec index 6fa94b66..8fde4a78 100644 --- a/contrib/rpm/i2pd.spec +++ b/contrib/rpm/i2pd.spec @@ -55,7 +55,9 @@ cd build %endif %if 0%{?fedora} >= 35 +%if 0%{?fedora} < 37 pushd redhat-linux-build +%endif %else %if 0%{?fedora} >= 33 pushd %{_target_platform} @@ -80,7 +82,9 @@ popd pushd build %if 0%{?fedora} >= 35 +%if 0%{?fedora} < 37 pushd redhat-linux-build +%endif %else %if 0%{?fedora} >= 33 pushd %{_target_platform}