provide /bin/pidof [release 3.3.17-3mamba;Sun May 02 2021]
This commit is contained in:
parent
9a9f57fe95
commit
71ca0877bf
@ -1,6 +1,6 @@
|
||||
Name: procps-ng
|
||||
Version: 3.3.17
|
||||
Release: 1mamba
|
||||
Release: 3mamba
|
||||
Summary: Command line and full screen utilities for browsing procfs
|
||||
Group: System/Tools
|
||||
Vendor: openmamba
|
||||
@ -19,7 +19,8 @@ BuildRequires: libsystemd-devel
|
||||
Provides: procps = %{version}-%{release}
|
||||
Obsoletes: procps < 3.2.9
|
||||
Provides: sysvinit-tools
|
||||
Obsoletes: sysvinit-tools
|
||||
Obsoletes: sysvinit-tools < 3.3.17
|
||||
Provides: /bin/pidof
|
||||
|
||||
%description
|
||||
This project provides command line and full screen utilities for browsing procfs, a "pseudo" file system dynamically generated by the kernel to provide information about the status of entries in its process table (such as whether the process is running, stopped, or a "zombie").
|
||||
@ -51,8 +52,7 @@ This package contains libraries and header files for developing applications tha
|
||||
%build
|
||||
%configure \
|
||||
--with-systemd \
|
||||
--disable-modern-top \
|
||||
--sbindir=/sbin
|
||||
--disable-modern-top
|
||||
|
||||
%make \
|
||||
CC=%{_target_platform}-gcc
|
||||
@ -61,15 +61,6 @@ This package contains libraries and header files for developing applications tha
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
#mv %{buildroot}%{_bindir}/pidof %{buildroot}/bin/pidof
|
||||
install -d -m0755 %{buildroot}/%{_lib}
|
||||
mv %{buildroot}%{_libdir}/libprocps.so.* %{buildroot}/%{_lib}/
|
||||
ln -sfv ../../%{_lib}/$(readlink %{buildroot}%{_libdir}/libprocps.so) %{buildroot}%{_libdir}/libprocps.so
|
||||
|
||||
# https://gitlab.com/procps-ng/procps/commit/430b559ba2826f80dffa840622ae0fc744000b13
|
||||
install -d -m0755 %{buildroot}/bin
|
||||
mv %{buildroot}%{_bindir}/{kill,pidof,ps} %{buildroot}/bin/
|
||||
|
||||
%find_lang %{name} --all-name --with-man
|
||||
|
||||
%clean
|
||||
@ -81,10 +72,10 @@ mv %{buildroot}%{_bindir}/{kill,pidof,ps} %{buildroot}/bin/
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
/bin/kill
|
||||
/bin/pidof
|
||||
/bin/ps
|
||||
/sbin/sysctl
|
||||
%{_bindir}/kill
|
||||
%{_bindir}/pidof
|
||||
%{_bindir}/ps
|
||||
%{_sbindir}/sysctl
|
||||
%{_bindir}/free
|
||||
%{_bindir}/pgrep
|
||||
%{_bindir}/pkill
|
||||
@ -104,7 +95,7 @@ mv %{buildroot}%{_bindir}/{kill,pidof,ps} %{buildroot}/bin/
|
||||
|
||||
%files -n libprocps
|
||||
%defattr(-,root,root)
|
||||
/%{_lib}/libprocps.so.*
|
||||
%{_libdir}/libprocps.so.*
|
||||
%doc AUTHORS COPYING*
|
||||
|
||||
%files -n libprocps-devel
|
||||
@ -120,6 +111,12 @@ mv %{buildroot}%{_bindir}/{kill,pidof,ps} %{buildroot}/bin/
|
||||
%doc NEWS
|
||||
|
||||
%changelog
|
||||
* Sun May 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.17-3mamba
|
||||
- provide /bin/pidof
|
||||
|
||||
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.17-2mamba
|
||||
- rebuilt in /usr
|
||||
|
||||
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 3.3.17-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user