Fix header_out_path variable error
This commit is contained in:
parent
db2eb5a65b
commit
be7d575979
@ -6,7 +6,7 @@
|
||||
|
||||
Name: security_huks
|
||||
Version: 1.0.0
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Key management service
|
||||
License: Apache-2.0
|
||||
URL: https://gitee.com/openharmony/security_huks
|
||||
@ -79,7 +79,7 @@ install -d -m 0755 %{buildroot}%{build_opt}/openeuler/compiler_gn/base/security/
|
||||
%define header_out_path out/openeuler/innerkits/linux-x86_64/huks
|
||||
%endif
|
||||
# prepare head files
|
||||
find %{_builddir}/${header_out_path} -name *.h -print0 | xargs -0 -i cp -rf {} %{buildroot}%{_includedir}/huks/
|
||||
find %{_builddir}/%{header_out_path} -name *.h -print0 | xargs -0 -i cp -rf {} %{buildroot}%{_includedir}/huks/
|
||||
install -m 0755 %{_builddir}/base/security/huks/frameworks/huks_standard/main/common/include/*.h %{buildroot}%{_includedir}/huks/
|
||||
|
||||
# copy executable file.
|
||||
@ -110,6 +110,9 @@ ln -s /usr/include/huks %{buildroot}%{build_opt}/openeuler/compiler_gn/base/sec
|
||||
%{build_opt}/*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 2 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-5
|
||||
- Fix header_out_path variable error
|
||||
|
||||
* Tue Apr 2 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-4
|
||||
- Fix huks compile errors for embedded
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user