!1 keyutils: add keyutils-libs containing dynamic library for keyutils

Merge pull request !1 from guoxiaoqi/next
This commit is contained in:
openeuler-ci-bot 2020-02-17 18:41:19 +08:00 committed by Gitee
commit 1ebc275e59

View File

@ -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 <buildteam@openeuler.org> - 1.5.10-10
- add keyutils-libs containing dynamic library for keyutils
* Thu May 10 2019 huangchangyu <huangchangyu@huawei.com> - 1.5.10-9
- Type:bugfix
- ID:NA