fix: Build error due to empty debugfile.list

Signed-off-by: imjoey <majunjie@apache.org>
(cherry picked from commit 0e3d9dac75ceb0a7d372865d5b01d3d4b4c8e62d)
This commit is contained in:
imjoey 2021-09-02 13:43:58 +08:00 committed by openeuler-sync-bot
parent e6bcac59f7
commit 2c575d28f0

View File

@ -65,6 +65,8 @@ AutoReqProv: no
%define pcre_prefix %{orprefix}/pcre
%define openssl_prefix %{orprefix}/openssl111
%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}"; \