From 7ba0e55a60ede02f070bf4de8d2eafc7be47af7b Mon Sep 17 00:00:00 2001 From: chenmaodong Date: Thu, 9 Sep 2021 09:28:31 +0800 Subject: [PATCH] install rsa public key to sysconfdir and fix some errors in spec Signed-off-by: chenmaodong --- itrustee_sdk.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/itrustee_sdk.spec b/itrustee_sdk.spec index 3733990..8a5c144 100644 --- a/itrustee_sdk.spec +++ b/itrustee_sdk.spec @@ -1,6 +1,6 @@ Name: itrustee_sdk Version: 0.1.0 -Release: 3%{?dist} +Release: 4 Summary: Confidential computing framework for developing TA on itrustee OS ExclusiveArch: aarch64 @@ -29,7 +29,9 @@ make %install install -d %{buildroot}/opt/ install -d %{buildroot}/lib64/ +install -d %{buildroot}/%{_sysconfdir}/itrustee/cloud/ make install DESTDIR=%{buildroot}/ +install -pm 644 build/signtools/cloud/rsa_public_key_cloud.pem %{buildroot}/%{_sysconfdir}/itrustee/cloud strip %{buildroot}/lib64/*.so @@ -37,12 +39,15 @@ strip %{buildroot}/lib64/*.so %defattr(-,root,root) /opt/itrustee_sdk /lib64/libteec_adaptor.so +%{_sysconfdir}/itrustee/cloud/rsa_public_key_cloud.pem %changelog +* Thu Sep 9 2021 chenmaodong - 0.1.0-4 +- DESC: install rsa public key to sysconfdir and fix some errors in spec * Sat Sep 4 2021 zhangtao - 0.1.0-3 -- strip dynamic library +- DESC: strip dynamic library * Thu May 20 2021 houmingyong - 0.1.0-2 -- DESC:init itrustee_sdk +- DESC: add libteec_adaptor.so()(64bit) as the provided symbol * Sat May 8 2021 chenmaodong - 0.1.0-1 - DESC:init itrustee_sdk -- Gitee