From 696649c520930ac2697271f50b12008a0f9264e8 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Fri, 7 Oct 2022 14:39:06 -0700 Subject: [PATCH] platform-python is for rhel8 only. rhel9 and above follow Fedoras python naming Signed-off-by: Troy Dawson --- htop.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htop.spec b/htop.spec index 78b2192..3e08656 100644 --- a/htop.spec +++ b/htop.spec @@ -8,7 +8,7 @@ Source0: https://github.com/htop-dev/htop/archive/%{version}.tar.gz#/%{name}-%{v BuildRequires: desktop-file-utils BuildRequires: ncurses-devel -%if 0%{?rhel} >= 8 +%if 0%{?rhel} == 8 BuildRequires: platform-python BuildRequires: /usr/bin/pathfix.py %else @@ -25,7 +25,7 @@ top(1). %prep %autosetup -p1 -%if 0%{?rhel} >= 8 +%if 0%{?rhel} == 8 pathfix.py -pni "/usr/libexec/platform-python" scripts/ %endif