From 9a42304219d63d9ff86160dd643d2145aad13f8e Mon Sep 17 00:00:00 2001 From: Anderson Toshiyuki Sasaki Date: Tue, 13 Aug 2024 15:10:05 +0200 Subject: [PATCH] Remove unwanted subpackage captree Resolves: RHEL-52861 Signed-off-by: Anderson Toshiyuki Sasaki --- libcap.spec | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/libcap.spec b/libcap.spec index 4e98f45..f3f0110 100644 --- a/libcap.spec +++ b/libcap.spec @@ -1,6 +1,6 @@ Name: libcap Version: 2.69 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Library for getting and setting POSIX.1e capabilities URL: https://sites.google.com/site/fullycapable/ License: BSD-3-Clause OR GPL-2.0-only @@ -55,16 +55,6 @@ draft 15 capabilities. Install libcap-devel if you want to develop or compile applications using libcap. -%ifarch %{golang_arches} -%package -n captree -Summary: Capability inspection utility - -%description -n captree -The captree program was inspired by the utility pstree, but it uses the -libcap/cap (Go package) API to explore process runtime state and display -the capability status of processes and threads. -%endif - %prep gzip -cd %{SOURCE0} | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data=- %autosetup -p1 @@ -96,6 +86,9 @@ chmod +x %{buildroot}/%{_libdir}/*.so.* %{_mandir}/man8/{getcap,getpcaps,setcap,pam_cap}.8* %{_libdir}/security/pam_cap.so %exclude %{_mandir}/man8/captree.8* +# Exclude unwanted captree +%exclude %{_libdir}/captree* +%exclude %{_sbindir}/captree* %files static %{_libdir}/libcap.a @@ -113,14 +106,10 @@ chmod +x %{buildroot}/%{_libdir}/*.so.* %{_mandir}/man3/__psx_syscall.3* %{_libdir}/pkgconfig/{libcap,libpsx}.pc -%ifarch %{golang_arches} -%files -n captree -%license License -%{_sbindir}/captree -%{_mandir}/man8/captree.8* -%endif - %changelog +* Tue Aug 13 2024 Anderson Toshiyuki Sasaki - 2.69-6 +- Remove unwanted subpackage captree + * Mon Jun 24 2024 Troy Dawson - 2.69-5 - Bump release for June 2024 mass rebuild