From ab17ecce70ed96e539c56305b78c75066f7c6f33 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 28 Mar 2023 11:21:50 +0000 Subject: [PATCH] import mstflint-4.23.0-2.el9 --- .gitignore | 2 +- .mstflint.metadata | 2 +- ...d-default-link-flags-for-shared-libraries.patch | 2 +- SPECS/mstflint.spec | 14 ++++++++++++-- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 045759f..2eba853 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/mstflint-4.21.0-1.tar.gz +SOURCES/mstflint-4.23.0-1.tar.gz diff --git a/.mstflint.metadata b/.mstflint.metadata index a64ef87..dd516fb 100644 --- a/.mstflint.metadata +++ b/.mstflint.metadata @@ -1 +1 @@ -08367f20899423d62313867e4fb40653df2e139c SOURCES/mstflint-4.21.0-1.tar.gz +6e84aa3237c48a1208dcef3d46a258d1c6cff626 SOURCES/mstflint-4.23.0-1.tar.gz diff --git a/SOURCES/add-default-link-flags-for-shared-libraries.patch b/SOURCES/add-default-link-flags-for-shared-libraries.patch index f193256..9ebbf7f 100644 --- a/SOURCES/add-default-link-flags-for-shared-libraries.patch +++ b/SOURCES/add-default-link-flags-for-shared-libraries.patch @@ -47,6 +47,6 @@ index 26f6a5a..9a42c37 100644 ${RREG_ACCESS_SO}: libreg_access.a - $(CC) -g -Wall -pthread -shared ${CFLAGS} *.o -o ${RREG_ACCESS_SO} \ + $(CC) -g -Wall -pthread -shared ${CFLAGS} ${LDFLAGS} *.o -o ${RREG_ACCESS_SO} \ - -L$(USER_DIR)/tools_layouts -ltools_layouts -L$(MTCR_DIR) -lmtcr_ul + -L$(USER_DIR)/tools_layouts -ltools_layouts -lmlxconfig_4th_gen_layouts -L$(MTCR_DIR) -lmtcr_ul CLEANFILES = ${RREG_ACCESS_SO} diff --git a/SPECS/mstflint.spec b/SPECS/mstflint.spec index 11b9be5..8a21ee9 100644 --- a/SPECS/mstflint.spec +++ b/SPECS/mstflint.spec @@ -2,8 +2,8 @@ Name: mstflint Summary: Mellanox firmware burning tool -Version: 4.21.0 -Release: 1%{?dist} +Version: 4.23.0 +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,12 @@ 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 + * Wed Aug 03 2022 Michal Schmidt - 4.21.0-1 - Update to upstream release 4.21.0