install rsa public key to sysconfdir and fix some errors in spec
Signed-off-by: chenmaodong <chenmaodong@huawei.com>
This commit is contained in:
parent
8c00eb558a
commit
7ba0e55a60
@ -1,6 +1,6 @@
|
|||||||
Name: itrustee_sdk
|
Name: itrustee_sdk
|
||||||
Version: 0.1.0
|
Version: 0.1.0
|
||||||
Release: 3%{?dist}
|
Release: 4
|
||||||
Summary: Confidential computing framework for developing TA on itrustee OS
|
Summary: Confidential computing framework for developing TA on itrustee OS
|
||||||
ExclusiveArch: aarch64
|
ExclusiveArch: aarch64
|
||||||
|
|
||||||
@ -29,7 +29,9 @@ make
|
|||||||
%install
|
%install
|
||||||
install -d %{buildroot}/opt/
|
install -d %{buildroot}/opt/
|
||||||
install -d %{buildroot}/lib64/
|
install -d %{buildroot}/lib64/
|
||||||
|
install -d %{buildroot}/%{_sysconfdir}/itrustee/cloud/
|
||||||
make install DESTDIR=%{buildroot}/
|
make install DESTDIR=%{buildroot}/
|
||||||
|
install -pm 644 build/signtools/cloud/rsa_public_key_cloud.pem %{buildroot}/%{_sysconfdir}/itrustee/cloud
|
||||||
|
|
||||||
strip %{buildroot}/lib64/*.so
|
strip %{buildroot}/lib64/*.so
|
||||||
|
|
||||||
@ -37,12 +39,15 @@ strip %{buildroot}/lib64/*.so
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/opt/itrustee_sdk
|
/opt/itrustee_sdk
|
||||||
/lib64/libteec_adaptor.so
|
/lib64/libteec_adaptor.so
|
||||||
|
%{_sysconfdir}/itrustee/cloud/rsa_public_key_cloud.pem
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 9 2021 chenmaodong<chenmaodong@huawei.com> - 0.1.0-4
|
||||||
|
- DESC: install rsa public key to sysconfdir and fix some errors in spec
|
||||||
* Sat Sep 4 2021 zhangtao<zhangtao221g@huawei.com> - 0.1.0-3
|
* Sat Sep 4 2021 zhangtao<zhangtao221g@huawei.com> - 0.1.0-3
|
||||||
- strip dynamic library
|
- DESC: strip dynamic library
|
||||||
* Thu May 20 2021 houmingyong<houmingyong@huawei.com> - 0.1.0-2
|
* Thu May 20 2021 houmingyong<houmingyong@huawei.com> - 0.1.0-2
|
||||||
- DESC:init itrustee_sdk
|
- DESC: add libteec_adaptor.so()(64bit) as the provided symbol
|
||||||
* Sat May 8 2021 chenmaodong<chenmaodong@huawei.com> - 0.1.0-1
|
* Sat May 8 2021 chenmaodong<chenmaodong@huawei.com> - 0.1.0-1
|
||||||
- DESC:init itrustee_sdk
|
- DESC:init itrustee_sdk
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user