provide /bin/pidof [release 3.3.17-3mamba;Sun May 02 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 10:32:27 +01:00
parent 9a9f57fe95
commit 71ca0877bf

View File

@ -1,6 +1,6 @@
Name: procps-ng Name: procps-ng
Version: 3.3.17 Version: 3.3.17
Release: 1mamba Release: 3mamba
Summary: Command line and full screen utilities for browsing procfs Summary: Command line and full screen utilities for browsing procfs
Group: System/Tools Group: System/Tools
Vendor: openmamba Vendor: openmamba
@ -19,7 +19,8 @@ BuildRequires: libsystemd-devel
Provides: procps = %{version}-%{release} Provides: procps = %{version}-%{release}
Obsoletes: procps < 3.2.9 Obsoletes: procps < 3.2.9
Provides: sysvinit-tools Provides: sysvinit-tools
Obsoletes: sysvinit-tools Obsoletes: sysvinit-tools < 3.3.17
Provides: /bin/pidof
%description %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"). 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 %build
%configure \ %configure \
--with-systemd \ --with-systemd \
--disable-modern-top \ --disable-modern-top
--sbindir=/sbin
%make \ %make \
CC=%{_target_platform}-gcc CC=%{_target_platform}-gcc
@ -61,15 +61,6 @@ This package contains libraries and header files for developing applications tha
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %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 %find_lang %{name} --all-name --with-man
%clean %clean
@ -81,10 +72,10 @@ mv %{buildroot}%{_bindir}/{kill,pidof,ps} %{buildroot}/bin/
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
/bin/kill %{_bindir}/kill
/bin/pidof %{_bindir}/pidof
/bin/ps %{_bindir}/ps
/sbin/sysctl %{_sbindir}/sysctl
%{_bindir}/free %{_bindir}/free
%{_bindir}/pgrep %{_bindir}/pgrep
%{_bindir}/pkill %{_bindir}/pkill
@ -104,7 +95,7 @@ mv %{buildroot}%{_bindir}/{kill,pidof,ps} %{buildroot}/bin/
%files -n libprocps %files -n libprocps
%defattr(-,root,root) %defattr(-,root,root)
/%{_lib}/libprocps.so.* %{_libdir}/libprocps.so.*
%doc AUTHORS COPYING* %doc AUTHORS COPYING*
%files -n libprocps-devel %files -n libprocps-devel
@ -120,6 +111,12 @@ mv %{buildroot}%{_bindir}/{kill,pidof,ps} %{buildroot}/bin/
%doc NEWS %doc NEWS
%changelog %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 * Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 3.3.17-1mamba
- automatic version update by autodist - automatic version update by autodist