From fbc24211655a4b6c4356222cb3f2cf2e5f914166 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Wed, 14 Feb 2018 18:40:03 -0500 Subject: [PATCH] Update to 2.1.0 Spec cleanup drop unused configure options Install desktop file (fixes bz#1541785) --- .gitignore | 1 + htop.spec | 25 +++++++++++-------------- sources | 2 +- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 3ffc672..6500f56 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ htop-0.8.3.tar.gz /htop-2.0.0.tar.gz /htop-2.0.1.tar.gz /htop-2.0.2.tar.gz +/htop-2.1.0.tar.gz diff --git a/htop.spec b/htop.spec index fa763ee..ec40cf8 100644 --- a/htop.spec +++ b/htop.spec @@ -1,6 +1,6 @@ Name: htop -Version: 2.0.2 -Release: 6%{?dist} +Version: 2.1.0 +Release: 1%{?dist} Summary: Interactive process viewer License: GPLv2+ URL: http://hisham.hm/htop/ @@ -20,38 +20,35 @@ top(1). sed -i s#"INSTALL_DATA = @INSTALL_DATA@"#"INSTALL_DATA = @INSTALL_DATA@ -p"# Makefile.in %build -autoreconf -v -f -i - %configure \ --enable-openvz \ --enable-vserver \ --enable-taskstats \ --enable-unicode \ - --enable-native-affinity \ - --enable-cgroup \ - --enable-oom + --enable-cgroup %make_build %install -rm -rf $RPM_BUILD_ROOT %make_install -#remove empty direcories -rm -rf $RPM_BUILD_ROOT%{libdir} -rm -rf $RPM_BUILD_ROOT%{includedir} - -# remove desktop file -rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/ +desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %files %doc AUTHORS ChangeLog README %license COPYING %{_bindir}/htop %{_datadir}/pixmaps/htop.png +%{_datadir}/applications/%{name}.desktop %{_mandir}/man1/htop.1* %changelog +* Wed Feb 14 2018 Mukundan Ragavan - 2.1.0-1 +- Update to 2.1.0 +- Spec cleanup +- drop unused configure options +- Install desktop file (fixes bz#1541785) + * Wed Feb 07 2018 Fedora Release Engineering - 2.0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 93229a3..75cf552 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7d354d904bad591a931ad57e99fea84a htop-2.0.2.tar.gz +SHA512 (htop-2.1.0.tar.gz) = 203e8f4abd63334330fc673f6c9609adbeab763d80f553d8b48670091d18dd347599a9ce2dbbac374fa4a13fa904948711a441fa676f52ab1612bd2b4ee4c6eb