Accepting request 208512 from home:jengelh:branches:Base:System

- Better make install, remove %clean

OBS-URL: https://build.opensuse.org/request/show/208512
OBS-URL: https://build.opensuse.org/package/show/Base:System/htop?expand=0&rev=21
This commit is contained in:
Marcus Meissner 2013-11-27 08:06:27 +00:00 committed by Git OBS Bridge
parent 000af5d605
commit 03c68cfc68
2 changed files with 11 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 26 13:28:46 UTC 2013 - jengelh@inai.de
- Better make install, remove %clean
-------------------------------------------------------------------
Mon Nov 12 12:11:20 UTC 2012 - puzel@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package htop
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,12 +17,13 @@
Name: htop
Url: http://htop.sourceforge.net
Version: 1.0.2
Release: 0
Summary: An Interactive text-mode Process Viewer for Linux
License: GPL-2.0+
Group: System/Monitoring
Version: 1.0.2
Release: 0
Url: http://htop.sourceforge.net
Source0: %{name}-%{version}.tar.gz
Patch0: htop-desktop-file-fix-thoenig-01.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -58,12 +59,9 @@ export LDFLAGS="`ncursesw6-config --libs`"
make %{?_smp_mflags}
%install
%makeinstall
make install DESTDIR="%buildroot"
%suse_update_desktop_file -i %name System Monitor
%clean
rm -rf %{_buildroot}
%files
%defattr(-,root,root)
%doc COPYING