From dc8b3a46e86c72b724c6b76cfde0824b950e3dc0 Mon Sep 17 00:00:00 2001 From: imxcc Date: Mon, 14 Feb 2022 11:05:52 +0800 Subject: [PATCH] fix bare word "debug" in spec Signed-off-by: imxcc --- libtpms.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libtpms.spec b/libtpms.spec index d5949da..9b57d00 100644 --- a/libtpms.spec +++ b/libtpms.spec @@ -6,7 +6,7 @@ %define name libtpms %define versionx 0.7.3 -%define release 4 +%define release 5 # Valid crypto subsystems are 'freebl' and 'openssl' %if "%{?crypto_subsystem}" == "" @@ -92,11 +92,11 @@ Libtpms header files and documentation. %define _with_openssl --with-openssl %endif -%if %{build_type} == debug +%if "%{build_type}" == "debug" %define _enable_debug --enable-debug %endif -%if %{build_type} == debug +%if "%{build_type}" == "debug" CFLAGS=-O0 %endif ./autogen.sh \ @@ -126,6 +126,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libtpms.la %postun -p /sbin/ldconfig %changelog +* Mon Feb 14 2022 imxcc - 0.7.3-5 +- fix bare word "debug" in spec + * Tue May 11 2021 jiangfangjie - 0.7.3-4 -TYPE: CVE -ID:NA -- Gitee