From 8b8b43df28f0ed2e505404b42da73019caa24875 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Sat, 30 Apr 2022 17:54:52 +0300 Subject: [PATCH] [rpm] support rhel 9 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 f035c658..31f58cce 100644 --- a/contrib/rpm/i2pd-git.spec +++ b/contrib/rpm/i2pd-git.spec @@ -94,6 +94,10 @@ popd %install pushd build +%if 0%{?rhel} == 9 +pushd redhat-linux-build +%endif + %if 0%{?fedora} >= 35 %if 0%{?fedora} < 37 pushd redhat-linux-build diff --git a/contrib/rpm/i2pd.spec b/contrib/rpm/i2pd.spec index 574d0718..b726ee4f 100644 --- a/contrib/rpm/i2pd.spec +++ b/contrib/rpm/i2pd.spec @@ -91,6 +91,10 @@ popd %install pushd build +%if 0%{?rhel} == 9 +pushd redhat-linux-build +%endif + %if 0%{?fedora} >= 35 %if 0%{?fedora} < 37 pushd redhat-linux-build