From 78396f9b282063a96f4cb36e465881064ca73675 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Feb 18 2023 00:23:06 +0000 Subject: import mstflint-4.23.0-2.el8 --- 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 bf3bf6b..fbaa5a4 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,10 @@ find %{buildroot} -type f -name '*.a' -delete %{_mandir}/man1/* %changelog +* Wed Feb 08 2023 Michal Schmidt - 4.23.0-2 +- Update to upstream release 4.23.0 +- Resolves: rhbz#2112936 + * Wed Aug 17 2022 Michal Schmidt - 4.21.0-1 - Update to upstream release 4.21.0 - Resolves: rhbz#2049525