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
This commit is contained in:
Martin Pluskal 2018-02-24 17:23:42 +00:00 committed by Git OBS Bridge
parent 81f7877339
commit 40b8e6ea12
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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}