fix the conditional to skip packaging fwupd-detect-cet when building with clang

(cherry picked from commit e875944f3736e8119adb0d200305c057548726ed)
This commit is contained in:
jchzhou 2024-03-13 15:57:28 +08:00 committed by openeuler-sync-bot
parent c6699a634f
commit 1025211ab4

View File

@ -43,7 +43,7 @@
Name: fwupd
Version: 1.8.17
Release: 2
Release: 3
License: LGPLv2+
Summary: Make updating firmware on Linux automatic, safe and reliable
URL: https://github.com/fwupd/fwupd
@ -343,7 +343,7 @@ done
%{_libexecdir}/fwupd/fwupd
# depending on compiler behavior
# currently skipped from building if compiled by llvm
%if "%toolchain" == "llvm"
%if "%toolchain" == "clang"
%else
%ifarch i686 x86_64
%{_libexecdir}/fwupd/fwupd-detect-cet
@ -471,6 +471,9 @@ done
%{_datadir}/man/man1/*
%changelog
* Wed Mar 13 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 1.8.17-3
- Fix the conditional at L346: replace expected toolchain value to 'clang'
* Wed Mar 13 2024 panchenbo <panchenbo@kylinsec.com.cn> - 1.8.17-2
- modify openEuler to %{_vendor}