From 40b8e6ea12c102c08bdce20dc4c4e81ed91528778f2adf8237a747e029638bdf Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sat, 24 Feb 2018 17:23:42 +0000 Subject: [PATCH] Accepting request 579480 from home:ecsos:monitoring - fix build error for Leap 42.3 OBS-URL: https://build.opensuse.org/request/show/579480 OBS-URL: https://build.opensuse.org/package/show/Base:System/htop?expand=0&rev=47 --- htop.changes | 5 +++++ htop.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/htop.changes b/htop.changes index e983cc7..b846515 100644 --- a/htop.changes +++ b/htop.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 23 11:08:31 UTC 2018 - ecsos@opensuse.org + +- fix build error for Leap 42.3 + ------------------------------------------------------------------- Tue Feb 6 13:44:23 UTC 2018 - mpluskal@suse.com diff --git a/htop.spec b/htop.spec index c2c01ab..ca10036 100644 --- a/htop.spec +++ b/htop.spec @@ -22,7 +22,7 @@ Release: 0 Summary: An Interactive text-mode Process Viewer for Linux License: GPL-2.0+ Group: System/Monitoring -URL: https://hisham.hm/htop +Url: https://hisham.hm/htop Source0: https://hisham.hm/htop/releases/%{version}/%{name}-%{version}.tar.gz Source1: https://hisham.hm/htop/releases/%{version}/%{name}-%{version}.tar.gz.asc Source2: %{name}.keyring @@ -57,7 +57,7 @@ but is also reported to work (and was originally developed) with the --enable-cgroup # forcefully exclude -L/usr/lib(64)/ncurses5 from being added on systems with # version 6 of ncurses. probably a cleaner way to fix this. -%if 0%{?suse_version} > 1320 +%if 0%{?suse_version} < 1500 LIBS="-lncursesw -ltinfo -lm " make -e %{?_smp_mflags} %else make %{?_smp_mflags}