Hello community, here is the log from the commit of package htop for openSUSE:Factory checked in at 2018-04-13 12:51:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/htop (Old) and /work/SRC/openSUSE:Factory/.htop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "htop" Fri Apr 13 12:51:07 2018 rev:43 rq:595963 version:2.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/htop/htop.changes 2018-02-25 11:47:07.636246094 +0100 +++ /work/SRC/openSUSE:Factory/.htop.new/htop.changes 2018-04-13 12:51:40.307418720 +0200 @@ -1,0 +2,30 @@ +Thu Apr 12 12:09:09 UTC 2018 - mplus...@suse.com + +- Simplify spec file + * Drop support for building on older distros + * Trim describtion +- Enable delayacct + +------------------------------------------------------------------- +Tue Apr 10 22:48:06 UTC 2018 - avin...@opensuse.org + +- Update to version 2.2.0 + * -t/--tree flag for starting in tree-view mode + * Various automake and build improvements + * Check for pkg-config when building with --enable-delayacct + * Avoid some bashisms in configure script + * Use CFLAGS from ncurses*-config if present + * Header generator supports non-UTF-8 environments + * Changed detection of kernel threads + * Collapse current subtree pressing Backspace + * BUGFIX: fix behavior of SYSCR column + * BUGFIX: obtain exit code of lsof correctly + * BUGFIX: fix crash with particular keycodes + * BUGFIX: fix issue with small terminals + * BUGFIX: fix terminal color issues + * BUGFIX: preserve LDFLAGS when building + * BUGFIX: fixed overflow for systems with >= 100 signals +- cleanup with spec-cleaner +- rebase htop-script-python3.patch + +------------------------------------------------------------------- Old: ---- htop-2.1.0.tar.gz htop-2.1.0.tar.gz.asc New: ---- htop-2.2.0.tar.gz htop-2.2.0.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ htop.spec ++++++ --- /var/tmp/diff_new_pack.IZO2ER/_old 2018-04-13 12:51:40.987394084 +0200 +++ /var/tmp/diff_new_pack.IZO2ER/_new 2018-04-13 12:51:40.991393940 +0200 @@ -17,36 +17,33 @@ Name: htop -Version: 2.1.0 +Version: 2.2.0 Release: 0 Summary: An Interactive text-mode Process Viewer for Linux -License: GPL-2.0+ +License: GPL-2.0-or-later 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 Patch0: htop-desktop-file-fix-thoenig-01.patch # PATCH-FIX-OPENSUSE htop-script-python3.patch Patch1: htop-script-python3.patch -BuildRequires: ncurses-devel +BuildRequires: pkgconfig >= 0.9.0 BuildRequires: python3-base BuildRequires: update-desktop-files -Requires(post): update-desktop-files -Requires(postun): update-desktop-files +BuildRequires: pkgconfig(libnl-3.0) +BuildRequires: pkgconfig(libnl-genl-3.0) +BuildRequires: pkgconfig(ncurses) Recommends: lsof Recommends: strace %description -htop is an interactive text-mode process viewer for Linux. It aims to -be a better 'top' and requires ncurses. It is tested with Linux 2.6, -but is also reported to work (and was originally developed) with the -2.4 series. +htop is an interactive text-mode process viewer for Linux. It aims to be a +better 'top' and requires ncurses. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 %build %configure \ @@ -54,32 +51,19 @@ --enable-unicode \ --enable-linux-affinity \ --enable-taskstats \ + --enable-delayacct \ --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} < 1500 -LIBS="-lncursesw -ltinfo -lm " make -e %{?_smp_mflags} -%else -make %{?_smp_mflags} -%endif +%make_build %install %make_install %suse_update_desktop_file -i %{name} System Monitor -%if 0%{?suse_version} < 1500 -%post -%desktop_database_post - -%postun -%desktop_database_postun -%endif - %files -%doc COPYING +%license COPYING %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png -%{_mandir}/man1/%{name}.1%{ext_man} +%{_mandir}/man1/%{name}.1%{?ext_man} %changelog ++++++ htop-2.1.0.tar.gz -> htop-2.2.0.tar.gz ++++++ ++++ 5180 lines of diff (skipped) ++++++ htop-script-python3.patch ++++++ --- /var/tmp/diff_new_pack.IZO2ER/_old 2018-04-13 12:51:41.119389302 +0200 +++ /var/tmp/diff_new_pack.IZO2ER/_new 2018-04-13 12:51:41.123389157 +0200 @@ -1,7 +1,5 @@ -Index: htop-2.1.0/Makefile.in -=================================================================== ---- htop-2.1.0.orig/Makefile.in -+++ htop-2.1.0/Makefile.in +--- a/Makefile.in ++++ b/Makefile.in @@ -2388,7 +2388,7 @@ coverage: $(MAKE) all CFLAGS="" AM_CPPFLAGS="-fprofile-arcs -ftest-coverage -DDEBUG" LDFLAGS="-lgcov" @@ -11,13 +9,11 @@ cppcheck: cppcheck -q -v . --enable=all -DHAVE_CGROUP -DHAVE_OPENVZ -DHAVE_TASKSTATS -Index: htop-2.1.0/scripts/MakeHeader.py -=================================================================== ---- htop-2.1.0.orig/scripts/MakeHeader.py -+++ htop-2.1.0/scripts/MakeHeader.py +--- a/scripts/MakeHeader.py ++++ b/scripts/MakeHeader.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 - import os, sys, string + import os, sys, string, io try: - from cStringIO import StringIO + from StringIO import StringIO