diff --git a/.gitignore b/.gitignore index f5d54ed..5f17ce0 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ psmisc-22.10.tar.gz /psmisc-22.19.tar.gz /psmisc-22.20.tar.gz /psmisc-22.21.tar.gz +/psmisc-23.1.tar.xz diff --git a/psmisc.spec b/psmisc.spec index a168855..7cfe526 100644 --- a/psmisc.spec +++ b/psmisc.spec @@ -1,13 +1,13 @@ Summary: Utilities for managing processes on your system Name: psmisc -Version: 22.21 -Release: 9%{?dist} +Version: 23.1 +Release: 1%{?dist} License: GPLv2+ Group: Applications/System -URL: http://sourceforge.net/projects/psmisc +URL: https://gitlab.com/psmisc/psmisc -Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +Source: https://sourceforge.net/projects/%{name}/files/%{name}/%{name}-%{version}.tar.xz #The following has been reworked by upstream in a different way ... we'll see #Patch1: psmisc-22.13-fuser-silent.patch @@ -20,16 +20,16 @@ BuildRequires: autoconf automake %description The psmisc package contains utilities for managing processes on your -system: pstree, killall and fuser. The pstree command displays a tree -structure of all of the running processes on your system. The killall -command sends a specified signal (SIGTERM if nothing is specified) to -processes identified by name. The fuser command identifies the PIDs -of processes that are using specified files or filesystems. +system: pstree, killall, fuser and pslog. The pstree command displays +a tree structure of all of the running processes on your system. The +killall command sends a specified signal (SIGTERM if nothing is specified) +to processes identified by name. The fuser command identifies the PIDs +of processes that are using specified files or filesystems. The pslog +command shows the path of log files owned by a given process. %prep %setup -q - %build %configure --prefix=%{_prefix} --enable-selinux make %{?_smp_mflags} @@ -50,19 +50,31 @@ mv $RPM_BUILD_ROOT%{_bindir}/fuser $RPM_BUILD_ROOT%{_sbindir} %{_bindir}/pstree %{_bindir}/pstree.x11 %{_bindir}/prtstat +%{_bindir}/pslog %{_mandir}/man1/fuser.1* %{_mandir}/man1/killall.1* %{_mandir}/man1/pstree.1* %{_mandir}/man1/prtstat.1* +%{_mandir}/man1/pslog.1* %ifarch %{ix86} x86_64 ppc %{power64} %{arm} mipsel %{_bindir}/peekfd -%endif %{_mandir}/man1/peekfd.1* +%else +%exclude %{_mandir}/man1/peekfd.1* +%endif %license COPYING %doc AUTHORS ChangeLog README %changelog +* Fri Jul 21 2017 Jan Rybar - 23.1 +- Rebase to the newest upstream official release +- Source0 updated to latest functional SourceForge URL format +- peekfd manpage now not present if peekfd binary missing on given architecture +- URL of the project updated +- new tool pslog added with rebase +- Resolves: #1460695 + * Wed Feb 01 2017 Stephen Gallagher - 22.21-9 - Add missing %%license macro diff --git a/sources b/sources index 2f1e444..5c3967a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f73645dd5dabea7125573a197a879164 psmisc-22.21.tar.gz +SHA512 (psmisc-23.1.tar.xz) = f678869ea555986a2538ada9630b74ce79304f3ee85cc9d69a3912d8d30ad491829eac0dcb69aae7003ee9b5de9645d2135b80a9e0b77824e60c417dc0be5f95