Name: psmisc Version: 23.1 Release: 5 Summary: Utilities for managing processes on your system License: GPLv2+ URL: https://gitlab.com/psmisc/psmisc Source0: https://sourceforge.net/projects/%{name}/files/%{name}/%{name}-%{version}.tar.xz BuildRequires: libselinux-devel gettext ncurses-devel autoconf automake gcc git Patch9001: bugfix-fix-pstree-coredump-due-pid-reuse.patch %description This PSmisc package is a set of some small useful utilities that use the proc filesystem. We're not about changing the world, but providing the system administrator with some help in common tasks. %prep %autosetup -n %{name}-%{version} -p1 -Sgit %build %configure --prefix=%{_prefix} --enable-selinux %make_build %install %make_install mkdir -p $RPM_BUILD_ROOT%{_sbindir} mv $RPM_BUILD_ROOT%{_bindir}/fuser $RPM_BUILD_ROOT%{_sbindir} %find_lang %name %files -f %{name}.lang %{_sbindir}/fuser %{_bindir}/* %{_mandir}/man1/* %license COPYING %doc AUTHORS ChangeLog README %changelog * Wed May 8 2019 xiashuang - 23.1-5 - Type:bugfix - ID:NA - SUG:restart - DESC:fix adapt patch error * Tue Jan 22 2019 xiashuang - 23.1-4 - Type:bugfix - ID:NA - SUG:restart - DESC:adapt patches from 7.3 * Mon Sep 10 2018 openEuler Buildteam - 23.1-3 - Package init