From 42a80a88521a3c43de7b32dedc7e9c5e4e3fb145 Mon Sep 17 00:00:00 2001 From: gaoyusong Date: Tue, 7 Feb 2023 21:02:37 +0800 Subject: [PATCH] Fix build error with openssl Signed-off-by: gaoyusong (cherry picked from commit 9922d049b5f3219eba411ee46b269e289b568aee) --- attest-tools.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/attest-tools.spec b/attest-tools.spec index fcf5f07..d57fdd7 100644 --- a/attest-tools.spec +++ b/attest-tools.spec @@ -1,20 +1,20 @@ name: attest-tools Version: 0.2.92 -Release: 5 +Release: 6 Summary: Attestation tools Source0: https://gitee.com/openeuler/%{name}/repository/archive/v%{version}.tar.gz 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: autoconf automake libcurl-devel libtool compat-openssl11-devel BuildRequires: digest-list-tools-devel json-c-devel libcurl-devel tss2-devel systemd Requires: json-c curl tss2 openssl_tpm2_engine %if 0%{?suse_version} BuildRequires: libopenssl-devel %else -BuildRequires: openssl-devel +BuildRequires: compat-openssl11-devel %endif %description @@ -95,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/include/attest-tools %changelog +* Tue Feb 7 2023 gaoyusong - 0.2.92-6 +- Fix build error with openssl + * Thu Nov 17 2022 luhuaxin - 0.2.92-5 - use release source pkg -- Gitee