- Small spec file cleanup

OBS-URL: https://build.opensuse.org/package/show/Base:System/htop?expand=0&rev=40
This commit is contained in:
Martin Pluskal 2016-10-24 07:43:45 +00:00 committed by Git OBS Bridge
parent e77e14708f
commit 0c15f38294
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 24 07:43:11 UTC 2016 - mpluskal@suse.com
- Small spec file cleanup
-------------------------------------------------------------------
Sat Jul 23 08:06:45 UTC 2016 - mpluskal@suse.com

View File

@ -41,21 +41,21 @@ but is also reported to work (and was originally developed) with the
%prep
%setup -q
%patch0
%patch0
%build
%configure \
--enable-taskstats \
--enable-unicode \
--enable-linux-affinity \
--enable-taskstats \
--enable-cgroup
--enable-unicode \
--enable-linux-affinity \
--enable-taskstats \
--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
LIBS="-lncursesw -ltinfo -lm " make -e %{?_smp_mflags}
%else
make -e %{?_smp_mflags}
make %{?_smp_mflags}
%endif
%install
@ -74,6 +74,6 @@ make -e %{?_smp_mflags}
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_mandir}/*/%{name}*
%{_mandir}/man1/%{name}.1%{ext_man}
%changelog