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