motr.spec.in: fix debugsource rpm build on
Processing files: cortx-motr-debugsource-2.0.0-1_gitf09ace98f_4.18.0_240.15.1.el8_3.el8.x86_64
error: Could not open %files file /home/ant/rpmbuild/BUILD/cortx-motr-2.0.0/debugsourcefiles.list: No such file or directory
Solution: don't remove source code from debuginfo package.
We are open source now, so there is nothing to hide.
@@ -311,12 +311,3 @@ systemctl daemon-reload
/sbin/depmod -a
%endif # with ut
-
-# Remove source code from debuginfo package.
-%if !%{with debuginfo_sources}
-%define __debug_install_post \
- %{_rpmconfigdir}/find-debuginfo.sh %{?_missing_build_ids_terminate_build:--strict-build-id} %{?_find_debuginfo_opts} "%{_builddir}/%{?buildsubdir}"; \
- rm -rf "${RPM_BUILD_ROOT}/usr/src/debug"; \
- mkdir -p "${RPM_BUILD_ROOT}/usr/src/debug/%{name}-%{version}"; \
-%{nil}
-%endif # debuginfo_sources
