add %{name}-libs
This commit is contained in:
parent
fab81aede4
commit
87cb8806e4
@ -1,20 +1,27 @@
|
|||||||
Name: ima-evm-utils
|
Name: ima-evm-utils
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: IMA/EVM control utilities
|
Summary: IMA/EVM control utilities
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://linux-ima.sourceforge.net/
|
URL: http://linux-ima.sourceforge.net/
|
||||||
Source0: http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/%{name}-%{version}.tar.gz
|
Source0: http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtool m4 asciidoc libxslt openssl-devel keyutils-libs-devel git
|
BuildRequires: autoconf automake libtool m4 asciidoc libxslt openssl-devel keyutils-libs-devel git
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ima-evm-utils package provides the evmctl utility that can be used for producing
|
ima-evm-utils package provides the evmctl utility that can be used for producing
|
||||||
and verifying digital signatures, which are used by Linux kernel integrity subsystem.
|
and verifying digital signatures, which are used by Linux kernel integrity subsystem.
|
||||||
It can be also used to import keys into the kernel keyring.
|
It can be also used to import keys into the kernel keyring.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: shared library for IMA/EVM
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
This package provides shared library for IMA/EVM.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
Obsoletes:%{name}-static < %{version}-%{release}
|
Obsoletes:%{name}-static < %{version}-%{release}
|
||||||
@ -44,15 +51,18 @@ make check
|
|||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ChangeLog README
|
%doc ChangeLog README
|
||||||
%license COPYING AUTHORS
|
%license COPYING AUTHORS
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -66,6 +76,9 @@ make check
|
|||||||
%doc %{_mandir}/*/*
|
%doc %{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 20 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-8
|
||||||
|
- add %{name}-libs
|
||||||
|
|
||||||
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-7
|
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-7
|
||||||
- delete libimaevm0
|
- delete libimaevm0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user