From e2dcaeba36e3dac1979a696832d2ad66996cf07b Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Fri, 3 Feb 2023 16:03:48 +0100 Subject: [PATCH] Fix debuginfo generation Resolves: rhbz#2166723 Signed-off-by: Michal Schmidt --- mstflint.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mstflint.spec b/mstflint.spec index a5d6d7e..8a21ee9 100644 --- a/mstflint.spec +++ b/mstflint.spec @@ -3,7 +3,7 @@ Name: mstflint Summary: Mellanox firmware burning tool Version: 4.23.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ or BSD Url: https://github.com/Mellanox/%{name} Source0: https://github.com/Mellanox/%{name}/releases/download/v%{version}-1/%{name}-%{version}-1.tar.gz @@ -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/* @@ -59,6 +63,9 @@ find %{buildroot} -type f -name '*.a' -delete %{_mandir}/man1/* %changelog +* Fri Feb 03 2023 Michal Schmidt - 4.23.0-2 +- Fix debuginfo generation. + * Thu Feb 02 2023 Kamal Heib - 4.23.0-1 - Update to upstream release 4.23.0