Fix debuginfo generation
Resolves: rhbz#2166723 Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
This commit is contained in:
parent
6dbeb9bb5a
commit
e2dcaeba36
@ -3,7 +3,7 @@
|
|||||||
Name: mstflint
|
Name: mstflint
|
||||||
Summary: Mellanox firmware burning tool
|
Summary: Mellanox firmware burning tool
|
||||||
Version: 4.23.0
|
Version: 4.23.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+ or BSD
|
License: GPLv2+ or BSD
|
||||||
Url: https://github.com/Mellanox/%{name}
|
Url: https://github.com/Mellanox/%{name}
|
||||||
Source0: https://github.com/Mellanox/%{name}/releases/download/v%{version}-1/%{name}-%{version}-1.tar.gz
|
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 '*.la' -delete
|
||||||
find %{buildroot} -type f -name '*.a' -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
|
%files
|
||||||
%doc README
|
%doc README
|
||||||
%_bindir/*
|
%_bindir/*
|
||||||
@ -59,6 +63,9 @@ find %{buildroot} -type f -name '*.a' -delete
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 03 2023 Michal Schmidt <mschmidt@redhat.com> - 4.23.0-2
|
||||||
|
- Fix debuginfo generation.
|
||||||
|
|
||||||
* Thu Feb 02 2023 Kamal Heib <kheib@redhat.com> - 4.23.0-1
|
* Thu Feb 02 2023 Kamal Heib <kheib@redhat.com> - 4.23.0-1
|
||||||
- Update to upstream release 4.23.0
|
- Update to upstream release 4.23.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user