import CS mstflint-4.30.0-1.el9

This commit is contained in:
eabdullin 2025-03-11 07:49:23 +00:00
parent b7be991670
commit 33392460e7
4 changed files with 15 additions and 34 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/mstflint-4.26.0-1.tar.gz
SOURCES/mstflint-4.30.0-1.tar.gz

View File

@ -1 +1 @@
0ae1b90ef5c66a7d9e335b8bf4921ab20fd82f4a SOURCES/mstflint-4.26.0-1.tar.gz
9e7596c709156b4cda0f2e78fcdce64eda6be7c8 SOURCES/mstflint-4.30.0-1.tar.gz

View File

@ -1,26 +0,0 @@
diff --git a/flint/subcommands.cpp b/flint/subcommands.cpp
index 420b82f..0a20bcd 100644
--- a/flint/subcommands.cpp
+++ b/flint/subcommands.cpp
@@ -4484,7 +4484,7 @@ FlintStatus SgSubCommand::sgFs2()
return FLINT_SUCCESS;
}
-#define FW_RESET_MSG "To load new configuration run mlxfwreset or reboot machine"
+#define FW_RESET_MSG "To load new configuration run mstfwreset or reboot machine"
FlintStatus SgSubCommand::sgFs3()
{
diff --git a/mlxfwops/lib/flint_base.h b/mlxfwops/lib/flint_base.h
index f3edc43..a85e43d 100644
--- a/mlxfwops/lib/flint_base.h
+++ b/mlxfwops/lib/flint_base.h
@@ -364,7 +364,7 @@ struct GPH {
#define REBOOT_REQUIRED_STR "To load new FW run reboot machine."
#ifndef MST_UL
-#define REBOOT_OR_FWRESET_REQUIRED_STR "To load new FW run mlxfwreset or reboot machine."
+#define REBOOT_OR_FWRESET_REQUIRED_STR "To load new FW run mstfwreset or reboot machine."
#else
#define REBOOT_OR_FWRESET_REQUIRED_STR "To load new FW run mstfwreset or reboot machine."
#endif

View File

@ -2,15 +2,14 @@
Name: mstflint
Summary: Mellanox firmware burning tool
Version: 4.26.0
Release: 2%{?dist}
Version: 4.30.0
Release: 1%{?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
Group: Applications/System
Patch4: add-default-link-flags-for-shared-libraries.patch
Patch6: replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch
Patch4: add-default-link-flags-for-shared-libraries.patch
BuildRequires: make
BuildRequires: libstdc++-devel, zlib-devel, libibmad-devel, gcc-c++, gcc
@ -30,8 +29,7 @@ for network adapters based on Mellanox Technologies chips.
%prep
%setup -q -n %{name}-%{version}
%patch4 -p1
%patch6 -p1
%patch 4 -p1
find . -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
find . -type f -iname '*.cpp' -exec chmod a-x '{}' ';'
@ -60,11 +58,20 @@ chmod +x %{buildroot}/%{_libdir}/mstflint/sdk/*.so
%_bindir/*
%{_sysconfdir}/mstflint
%{_libdir}/mstflint
%{_libdir}/libmtcr_ul.a
%{_datadir}/mstflint
%{_mandir}/man1/*
%changelog
* Tue Dec 10 2024 Kamal Heib <kheib@redhat.com> - 4.30.0-1
- Update to upstream release 4.30.0
- Resolves: RHEL-67034
* Tue Nov 05 2024 Kamal Heib <kheib@redhat.com> - 4.29.0-1
- Update to upstream release 4.29.0
- Resolves: RHEL-52887
* Mon Apr 29 2024 Kamal Heib <kheib@redhat.com> - 4.26.0-2
- Fix debuginfo
- Resolves: RHEL-34752