update to 2.50 [release 2.50-1mamba;Sat Jun 19 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 03:57:03 +01:00
parent 69ca189a23
commit 5c6d68e037

View File

@ -1,12 +1,12 @@
Name: libcap
Version: 2.49
Release: 2mamba
Version: 2.50
Release: 1mamba
Summary: POSIX 1003.1e capabilities
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.it.kernel.org/pub/linux/libs/security/linux-privs/
URL: https://git.kernel.org/pub/scm/linux/kernel/git/morgan/libcap.git/
Source: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
@ -28,7 +28,7 @@ Obsoletes: libcap1-devel < 2.49
%description devel
POSIX 1003.1e capabilities
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%package tools
Group: System/Tools
@ -49,6 +49,7 @@ This package contains tools for %{name}.
GOLANG=no \
CC=%{_host}-gcc \
BUILD_CC=%{_build}-gcc \
SBINDIR=%{_sbindir} \
LIBDIR=%{_libdir} \
%if "%{_host}" != "%{_build}"
LDFLAGS="-lcrypt -lattr -L../libcap/"
@ -61,6 +62,7 @@ mkdir -p %{buildroot}%{_mandir}/man8
GOLANG=no \
FAKEROOT=%{buildroot} \
RAISE_SETFCAP=no \
SBINDIR=%{_sbindir} \
LIBDIR=%{_libdir}
install -Dm644 pam_cap/capability.conf \
@ -107,10 +109,10 @@ fi
%files tools
%defattr(-,root,root)
/sbin/capsh
/sbin/getcap
/sbin/getpcaps
/sbin/setcap
#/sbin/capsh
%{_sbindir}/getcap
%{_sbindir}/getpcaps
%{_sbindir}/setcap
%{_mandir}/man1/capsh.1*
%{_mandir}/man8/getcap.8*
%{_mandir}/man8/getpcaps.8*
@ -119,6 +121,9 @@ fi
%doc README
%changelog
* Sat Jun 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.50-1mamba
- update to 2.50
* Tue Apr 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.49-2mamba
- install pam file to /%_lib/security