From e6e93b76254a17a34ed313735cffccd5eb7f3293 Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Jan 07 2014 19:28:37 +0000 Subject: - Replacing the /sbin/pidof wrapper with symlink --- diff --git a/pidof b/pidof deleted file mode 100755 index 5bf33ee..0000000 --- a/pidof +++ /dev/null @@ -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 "$@" diff --git a/procps-ng.spec b/procps-ng.spec index d48295c..f2ba224 100644 --- a/procps-ng.spec +++ b/procps-ng.spec @@ -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 - 3.3.9-2 +- Replacing the /sbin/pidof wrapper with symlink + * Tue Dec 03 2013 Jaromir Capik - 3.3.9-1 - Update to 3.3.9