diff --git a/attest-tools.spec b/attest-tools.spec index 4370802468b111beb2b10f91f7d8790264aa218d..b3205eb22f5b4b4ddf671bfcd8121fc4777e1492 100644 --- a/attest-tools.spec +++ b/attest-tools.spec @@ -1,6 +1,6 @@ name: attest-tools Version: 0.2.92 -Release: 4 +Release: 5 Summary: Attestation tools Source0: https://gitee.com/openeuler/%{name}/repository/archive/v%{version}.tar.gz @@ -8,7 +8,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: GPLv2+ Url: https://gitee.com/openeuler/attest-tools BuildRequires: autoconf automake libcurl-devel libtool openssl-devel -BuildRequires: digest-list-tools-devel json-c-devel libcurl-devel tss2-devel systemd +BuildRequires: json-c-devel libcurl-devel tss2-devel systemd +%ifnarch riscv64 +BuildRequires: digest-list-tools +%endif Requires: json-c curl tss2 openssl_tpm2_engine %if 0%{?suse_version} @@ -72,7 +75,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libverifier_dummy.so %{_libdir}/libenroll_server.so %{_libdir}/libverifier_ima_cp.so +%ifnarch riscv64 %{_libdir}/libverifier_ima_sig.so +%endif %{_libdir}/libverifier_evm_key.so %{_libdir}/libeventlog_ima.so %{_libdir}/libverifier_ima_boot_aggregate.la @@ -95,6 +100,10 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/include/attest-tools %changelog +* Thu Feb 24 2022 YukariChiba - 0.2.92-5 +- Remove digest-list-tools dependency in RISC-V to avoid selinux error +- Remove libverifier_ima_sig.so in filelist when building in RISC-V + * Fri Sep 03 2021 wangyue - 0.2.92-4 - Add openssl_tpm2_engine in requires