[procps-ng] - Replacing the /sbin/pidof wrapper with symlink

Jaromír Cápík jcapik at fedoraproject.org
Tue Jan 7 19:28:42 UTC 2014


commit e6e93b76254a17a34ed313735cffccd5eb7f3293
Author: Jaromir Capik <jcapik at redhat.com>
Date:   Tue Jan 7 20:28:37 2014 +0100

    - Replacing the /sbin/pidof wrapper with symlink

 pidof          |    5 -----
 procps-ng.spec |    8 +++++---
 2 files changed, 5 insertions(+), 8 deletions(-)
---
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 <jcapik at redhat.com> - 3.3.9-2
+- Replacing the /sbin/pidof wrapper with symlink
+
 * Tue Dec 03 2013 Jaromir Capik <jcapik at redhat.com> - 3.3.9-1
 - Update to 3.3.9
 


More information about the scm-commits mailing list