From 63ffe70495caf3974db66dfe67b0beb0e711f7b1 Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Thu, 18 Jan 2024 14:50:19 +0800 Subject: [PATCH] simplified control macro --- libkcapi.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libkcapi.spec b/libkcapi.spec index d96ccb9..96219fb 100644 --- a/libkcapi.spec +++ b/libkcapi.spec @@ -2,11 +2,9 @@ %global sysctl_optmem_max 81920 %global distroname_ext %{_vendor} -%if %{?openEuler:1}0 -%define enable_docbook_pdf 1 -%else -%define enable_docbook_pdf 0 -%endif +# Define enable_docbook_pdf to 0, +# if you don't need pdf and ps document. +%global enable_docbook_pdf 1 # Calculate hmac file after installing for binary %define __spec_install_post \ @@ -26,7 +24,7 @@ ln -s libkcapi.so.%{version}.hmac %{buildroot}/%{_lib}/fipscheck/libkcapi.so. Name: libkcapi Version: 1.4.0 -Release: 5 +Release: 6 Summary: libkcapi - Linux Kernel Crypto API User Space Interface Library License: BSD or GPLv2 @@ -221,6 +219,12 @@ popd %{_mandir}/man3/kcapi_*.3.* %changelog +* Thu Jan 18 2024 yixiangzhike - 1.4.0-6 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:simplified control macro + * Wed Aug 16 2023 yixiangzhike - 1.4.0-5 - Type:bugfix - ID:NA