Hello community, here is the log from the commit of package htop for openSUSE:Factory checked in at 2018-02-06 16:51:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/htop (Old) and /work/SRC/openSUSE:Factory/.htop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "htop" Tue Feb 6 16:51:21 2018 rev:41 rq:573317 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/htop/htop.changes 2017-01-09 11:55:53.352852755 +0100 +++ /work/SRC/openSUSE:Factory/.htop.new/htop.changes 2018-02-06 16:51:30.409459799 +0100 @@ -1,0 +2,37 @@ +Tue Feb 6 13:44:23 UTC 2018 - [email protected] + +- Small cleanup with spec-clener + +------------------------------------------------------------------- +Mon Feb 5 14:44:35 UTC 2018 - [email protected] + +- Update to version 2.1.0 + * Linux: Delay accounting metrics + (thanks to André Carvalho) + * Support for real-time signals + (thanks to Kang-Che Sung) + * 'c' key now works with threads as well + * Session column renamed from SESN to SID + (thanks to Kamyar Rasta) + * Improved UI for meter style selection + (thanks to Kang-Che Sung) + * Improved code for constructing process tree + (thanks to wangqr) + * Compile-time option to disable setuid + * Error checking of various standard library operations + * Replacement of sprintf with snprintf + (thanks to Tomasz Kramkowski) + * Linux: performance improvements in battery meter + * Linux: update process TTY device + * Linux: add support for sorting TASK_IDLE + (thanks to Vladimir Panteleev) + * Linux: add upper-bound to running process counter + (thanks to Lucas Correia Villa Real) + * BUGFIX: avoid crash when battery is removed + (thanks to Jan Chren) + +- Refreshed htop-desktop-file-fix-thoenig-01.patch + +- Added htop-script-python3.patch + +------------------------------------------------------------------- Old: ---- htop-2.0.2.tar.gz htop-2.0.2.tar.gz.asc New: ---- htop-2.1.0.tar.gz htop-2.1.0.tar.gz.asc htop-script-python3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ htop.spec ++++++ --- /var/tmp/diff_new_pack.bGk2fc/_old 2018-02-06 16:51:31.061429268 +0100 +++ /var/tmp/diff_new_pack.bGk2fc/_new 2018-02-06 16:51:31.061429268 +0100 @@ -1,7 +1,7 @@ # # spec file for package htop # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX 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,23 +17,25 @@ Name: htop -Version: 2.0.2 +Version: 2.1.0 Release: 0 Summary: An Interactive text-mode Process Viewer for Linux License: GPL-2.0+ Group: System/Monitoring -Url: http://hisham.hm/htop -Source0: http://hisham.hm/htop/releases/%{version}/%{name}-%{version}.tar.gz -Source1: http://hisham.hm/htop/releases/%{version}/%{name}-%{version}.tar.gz.asc +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: python3-base BuildRequires: update-desktop-files Requires(post): update-desktop-files Requires(postun): update-desktop-files Recommends: lsof Recommends: strace -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description htop is an interactive text-mode process viewer for Linux. It aims to @@ -43,7 +45,8 @@ %prep %setup -q -%patch0 +%patch0 -p1 +%patch1 -p1 %build %configure \ @@ -64,14 +67,15 @@ %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 -%defattr(-,root,root) %doc COPYING %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop ++++++ htop-2.0.2.tar.gz -> htop-2.1.0.tar.gz ++++++ ++++ 34439 lines of diff (skipped) ++++++ htop-desktop-file-fix-thoenig-01.patch ++++++ --- /var/tmp/diff_new_pack.bGk2fc/_old 2018-02-06 16:51:31.225421589 +0100 +++ /var/tmp/diff_new_pack.bGk2fc/_new 2018-02-06 16:51:31.229421401 +0100 @@ -3,15 +3,11 @@ Date: Thu, 11 Feb 2016 12:36:06 -0600 Subject: [PATCH] Improve desktop file category. ---- - htop.desktop | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: htop.desktop +Index: htop-2.1.0/htop.desktop =================================================================== ---- htop.desktop.orig -+++ htop.desktop -@@ -32,7 +32,7 @@ Comment[zh_TW]=顯示系統行程 +--- htop-2.1.0.orig/htop.desktop ++++ htop-2.1.0/htop.desktop +@@ -33,7 +33,7 @@ Comment[zh_TW]=顯示系統行程 Terminal=true Exec=htop Icon=htop @@ -20,9 +16,9 @@ GenericName=Process Viewer GenericName[ca]=Visor de processos GenericName[de]=Prozessanzeige -@@ -60,4 +60,4 @@ GenericName[sv]=Processvisning - GenericName[tr]=Süreç Görüntüleyici +@@ -62,4 +62,4 @@ GenericName[tr]=Süreç Görüntüleyici GenericName[uk]=Перегляд процесів + GenericName[zh_CN]=进程查看器 GenericName[zh_TW]=行程檢視器 -Keywords=system;process;task +Keywords=system;process;task; ++++++ htop-script-python3.patch ++++++ Index: htop-2.1.0/Makefile.in =================================================================== --- htop-2.1.0.orig/Makefile.in +++ htop-2.1.0/Makefile.in @@ -2388,7 +2388,7 @@ coverage: $(MAKE) all CFLAGS="" AM_CPPFLAGS="-fprofile-arcs -ftest-coverage -DDEBUG" LDFLAGS="-lgcov" .c.h: - @srcdir@/scripts/MakeHeader.py $< + LC_ALL=en_US.UTF-8 @srcdir@/scripts/MakeHeader.py $< 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 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 import os, sys, string try: from cStringIO import StringIO
