install pam file to /%_lib/security [release 2.49-2mamba;Tue Apr 13 2021]
This commit is contained in:
parent
bc1aa07fb4
commit
69ca189a23
16
libcap.spec
16
libcap.spec
@ -1,6 +1,6 @@
|
||||
Name: libcap
|
||||
Version: 2.49
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: POSIX 1003.1e capabilities
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -10,12 +10,12 @@ URL: https://www.it.kernel.org/pub/linux/libs/security/linux-privs/
|
||||
Source: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-%{version}.tar.xz
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: glibc-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libattr-devel
|
||||
BuildRequires: pam-devel
|
||||
Requires(post): libcap-tools = %{version}-%{release}
|
||||
Obsoletes: libcap1
|
||||
Obsoletes: libcap1 < 2.49
|
||||
|
||||
%description
|
||||
POSIX 1003.1e capabilities.
|
||||
@ -24,7 +24,7 @@ POSIX 1003.1e capabilities.
|
||||
Group: Development/Libraries
|
||||
Summary: Static libraries and headers for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Obsoletes: libcap1-devel
|
||||
Obsoletes: libcap1-devel < 2.49
|
||||
|
||||
%description devel
|
||||
POSIX 1003.1e capabilities
|
||||
@ -68,6 +68,9 @@ install -Dm644 pam_cap/capability.conf \
|
||||
|
||||
chmod +x %{buildroot}%{_libdir}/libcap.so.*
|
||||
|
||||
install -d -m0755 %{buildroot}/%{_lib}
|
||||
mv %{buildroot}%{_libdir}/security %{buildroot}/%{_lib}
|
||||
|
||||
# remove conflicting man pages
|
||||
rm -f %{buildroot}%{_mandir}/man2/capset*
|
||||
rm -f %{buildroot}%{_mandir}/man2/capget*
|
||||
@ -88,7 +91,7 @@ fi
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcap.so.*
|
||||
%{_libdir}/libpsx.so.*
|
||||
%{_libdir}/security/pam_cap.so
|
||||
/%{_lib}/security/pam_cap.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@ -116,6 +119,9 @@ fi
|
||||
%doc README
|
||||
|
||||
%changelog
|
||||
* Tue Apr 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.49-2mamba
|
||||
- install pam file to /%_lib/security
|
||||
|
||||
* Sun Mar 14 2021 Automatic Build System <autodist@mambasoft.it> 2.49-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user