From 234e5ab4bac5353a0d21119964919c15c70b70fb Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Sun, 9 Oct 2022 15:42:29 +0800 Subject: [PATCH] add doc package --- ima-evm-utils.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/ima-evm-utils.spec b/ima-evm-utils.spec index e18c788..6fb4fa4 100644 --- a/ima-evm-utils.spec +++ b/ima-evm-utils.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: ima-evm-utils Version: 1.4 @@ -27,6 +27,14 @@ systems extended attributes. The Extended Verification Module (EVM) prevents unauthorized changes to these extended attributes on the file system. ima-evm-utils is used to prepare the file system for these extended attributes. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} @@ -50,17 +58,22 @@ find %{buildroot} -type f -name "*.la" -delete %files %license COPYING -%doc NEWS README AUTHORS %{_bindir}/evmctl # if you need to bump the soname version, coordinate with dependent packages %{_libdir}/libimaevm.so.3* %{_mandir}/man1/evmctl* +%files doc +%doc NEWS README AUTHORS + %files devel %{_pkgdocdir}/*.sh %{_includedir}/imaevm.h %{_libdir}/libimaevm.so %changelog +* Sun Oct 09 2022 mgb01105731 - 1.4-2 +- add doc package + * Wed Mar 09 2022 Chunmei Xu - 1.4-1 - init from upstream 1.4 -- Gitee