fix bare word "debug" in spec
Signed-off-by: imxcc <xingchaochao@huawei.com>
This commit is contained in:
parent
09fe0323e8
commit
50f940a8d8
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
%define name libtpms
|
%define name libtpms
|
||||||
%define versionx 0.7.3
|
%define versionx 0.7.3
|
||||||
%define release 4
|
%define release 5
|
||||||
|
|
||||||
# Valid crypto subsystems are 'freebl' and 'openssl'
|
# Valid crypto subsystems are 'freebl' and 'openssl'
|
||||||
%if "%{?crypto_subsystem}" == ""
|
%if "%{?crypto_subsystem}" == ""
|
||||||
@ -92,11 +92,11 @@ Libtpms header files and documentation.
|
|||||||
%define _with_openssl --with-openssl
|
%define _with_openssl --with-openssl
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{build_type} == debug
|
%if "%{build_type}" == "debug"
|
||||||
%define _enable_debug --enable-debug
|
%define _enable_debug --enable-debug
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{build_type} == debug
|
%if "%{build_type}" == "debug"
|
||||||
CFLAGS=-O0
|
CFLAGS=-O0
|
||||||
%endif
|
%endif
|
||||||
./autogen.sh \
|
./autogen.sh \
|
||||||
@ -126,6 +126,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libtpms.la
|
|||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 14 2022 imxcc <xingchaochao@huawei.com> - 0.7.3-5
|
||||||
|
- fix bare word "debug" in spec
|
||||||
|
|
||||||
* Tue May 11 2021 jiangfangjie <jiangfangjie@huawei.com> - 0.7.3-4
|
* Tue May 11 2021 jiangfangjie <jiangfangjie@huawei.com> - 0.7.3-4
|
||||||
-TYPE: CVE
|
-TYPE: CVE
|
||||||
-ID:NA
|
-ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user