- 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
This commit is contained in:
Jan Rybar 2017-07-26 12:58:52 +02:00
parent d8eda9b1f9
commit 53b175c4ba
3 changed files with 25 additions and 12 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 <jrybar@redhat.com> - 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 <sgallagh@redhat.com> - 22.21-9
- Add missing %%license macro

View File

@ -1 +1 @@
f73645dd5dabea7125573a197a879164 psmisc-22.21.tar.gz
SHA512 (psmisc-23.1.tar.xz) = f678869ea555986a2538ada9630b74ce79304f3ee85cc9d69a3912d8d30ad491829eac0dcb69aae7003ee9b5de9645d2135b80a9e0b77824e60c417dc0be5f95