- Replacing the /sbin/pidof wrapper with symlink
This commit is contained in:
parent
5c413895ab
commit
e6e93b7625
5
pidof
5
pidof
@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ $0 = /sbin/pidof ] && echo -e "WARNING: pidof has been moved from /sbin to /usr/bin.\n Please, change/remove the hardcoded path." 1>&2
|
||||
|
||||
/usr/bin/pidof "$@"
|
@ -4,13 +4,12 @@
|
||||
Summary: System and process monitoring utilities
|
||||
Name: procps-ng
|
||||
Version: 3.3.9
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+
|
||||
Group: Applications/System
|
||||
URL: https://sourceforge.net/projects/procps-ng/
|
||||
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
||||
Source1: pidof
|
||||
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
@ -114,7 +113,7 @@ make DESTDIR=%{buildroot} install
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/sysctl.d
|
||||
|
||||
install -pm755 %{SOURCE1} %{buildroot}%{_sbindir}
|
||||
ln -s %{_bindir}/pidof %{buildroot}%{_sbindir}/pidof
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
@ -142,6 +141,9 @@ install -pm755 %{SOURCE1} %{buildroot}%{_sbindir}
|
||||
%{_includedir}/proc
|
||||
|
||||
%changelog
|
||||
* Tue Jan 07 2014 Jaromir Capik <jcapik@redhat.com> - 3.3.9-2
|
||||
- Replacing the /sbin/pidof wrapper with symlink
|
||||
|
||||
* Tue Dec 03 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.9-1
|
||||
- Update to 3.3.9
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user