diff --git a/htop.spec b/htop.spec index 503650a..fb774df 100644 --- a/htop.spec +++ b/htop.spec @@ -24,7 +24,6 @@ License: GPL-2.0-or-later Group: System/Monitoring URL: https://htop.dev Source0: https://dl.bintray.com/%{name}/source/%{name}-%{version}.tar.gz -BuildRequires: libsensors4-devel BuildRequires: pkgconfig >= 0.9.0 BuildRequires: update-desktop-files BuildRequires: pkgconfig(hwloc) @@ -33,6 +32,9 @@ BuildRequires: pkgconfig(libnl-genl-3.0) BuildRequires: pkgconfig(ncurses) Recommends: lsof Recommends: strace +%ifnarch s390 s390x +BuildRequires: libsensors4-devel +%endif %description htop is an interactive text-mode process viewer for Linux. It aims to be a