diff --git a/keyutils.spec b/keyutils.spec index ebd62573c80efb934a79dffe284125b838a91586..f671c94fe3e2153174959b50b3020609d051f6c2 100644 --- a/keyutils.spec +++ b/keyutils.spec @@ -1,6 +1,6 @@ Name: keyutils Version: 1.5.10 -Release: 9 +Release: 10 Summary: Utilities of Linux Key Management License: GPLv2+ and LGPLv2+ @@ -11,13 +11,18 @@ Patch9000: bugfix-fix-argv-string-out-of-bounds.patch BuildRequires: gcc BuildRequires: glibc-kernheaders >= 2.4-9.1.92 -Provides: %{name}-libs = %{version}-%{release} -Obsoletes:%{name}-libs %description The keyutils contains the kernel key management facility and provides the call back mechanism to get a key to user space. +%package libs +Summary: Key utilities library + +%description libs +This package provides a wrapper library for the key management facility system +calls. + %package libs-devel Summary: libs-devle package for keyutils Requires: %{name}-libs = %{version}-%{release} @@ -64,7 +69,9 @@ make \ SHAREDIR=%{_datarootdir}/keyutils \ install -%ldconfig_scriptlets +%post libs -p /sbin/ldconfig + +%postun libs -p /sbin/ldconfig %files %doc README @@ -74,6 +81,9 @@ make \ %{_bindir}/* %{_datarootdir}/keyutils %config(noreplace) %{_sysconfdir}/* + +%files libs +%license LICENCE.LGPL %{_libdir}/libkeyutils.so.* %files libs-devel @@ -84,6 +94,9 @@ make \ %{_mandir}/man*/* %changelog +* Mon Feb 17 2020 openEuler Buildteam - 1.5.10-10 +- add keyutils-libs containing dynamic library for keyutils + * Thu May 10 2019 huangchangyu - 1.5.10-9 - Type:bugfix - ID:NA