Fix header_out_path variable error

This commit is contained in:
s_c_c 2024-04-02 17:37:05 +08:00
parent db2eb5a65b
commit be7d575979

View File

@ -6,7 +6,7 @@
Name: security_huks Name: security_huks
Version: 1.0.0 Version: 1.0.0
Release: 4%{?dist} Release: 5%{?dist}
Summary: Key management service Summary: Key management service
License: Apache-2.0 License: Apache-2.0
URL: https://gitee.com/openharmony/security_huks 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 %define header_out_path out/openeuler/innerkits/linux-x86_64/huks
%endif %endif
# prepare head files # 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/ install -m 0755 %{_builddir}/base/security/huks/frameworks/huks_standard/main/common/include/*.h %{buildroot}%{_includedir}/huks/
# copy executable file. # copy executable file.
@ -110,6 +110,9 @@ ln -s /usr/include/huks %{buildroot}%{build_opt}/openeuler/compiler_gn/base/sec
%{build_opt}/* %{build_opt}/*
%changelog %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 * Tue Apr 2 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-4
- Fix huks compile errors for embedded - Fix huks compile errors for embedded