platform-python is for rhel8 only. rhel9 and above follow Fedoras python naming

Signed-off-by: Troy Dawson <tdawson@redhat.com>
epel9
Troy Dawson 2 years ago
parent 48212a2248
commit 696649c520

@ -8,7 +8,7 @@ Source0: https://github.com/htop-dev/htop/archive/%{version}.tar.gz#/%{name}-%{v
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
%if 0%{?rhel} >= 8 %if 0%{?rhel} == 8
BuildRequires: platform-python BuildRequires: platform-python
BuildRequires: /usr/bin/pathfix.py BuildRequires: /usr/bin/pathfix.py
%else %else
@ -25,7 +25,7 @@ top(1).
%prep %prep
%autosetup -p1 %autosetup -p1
%if 0%{?rhel} >= 8 %if 0%{?rhel} == 8
pathfix.py -pni "/usr/libexec/platform-python" scripts/ pathfix.py -pni "/usr/libexec/platform-python" scripts/
%endif %endif

Loading…
Cancel
Save