From e1bebae524fd426ba0bfbefb08ae0c8d6ce1bcaa Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Feb 03 2023 14:56:19 +0000 Subject: fix debuginfo generation for python_tools/*.so --- diff --git a/mstflint.spec b/mstflint.spec index 22a75b4..4a6f4fb 100644 --- a/mstflint.spec +++ b/mstflint.spec @@ -49,6 +49,10 @@ rm -fr %{buildroot}%{_includedir} find %{buildroot} -type f -name '*.la' -delete find %{buildroot} -type f -name '*.a' -delete +# Mark these shared libs executable for find-debuginfo.sh to find them. +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Debuginfo/ +chmod +x %{buildroot}/%{_libdir}/mstflint/python_tools/*.so + %files %doc README %_bindir/*