!3 [sync] PR-2: fix: Build error due to no files in debug file.list

From: @openeuler-sync-bot
Reviewed-by: @fu_changjie
Signed-off-by: @fu_changjie
This commit is contained in:
openeuler-ci-bot 2021-09-02 05:23:48 +00:00 committed by Gitee
commit eaca1e6273

View File

@ -33,6 +33,8 @@ AutoReqProv: no
%define zlib_prefix %{_usr}/local/openresty/zlib
%define pcre_prefix %{_usr}/local/openresty/pcre
%global debug_package %{nil}
# Remove source code from debuginfo package.
%define __debug_install_post \
%{_rpmconfigdir}/find-debuginfo.sh %{?_missing_build_ids_terminate_build:--strict-build-id} %{?_find_debuginfo_opts} "%{_builddir}/%{?buildsubdir}"; \