From 7c5370353af1282cb1f382aafa2de926c538ed2f Mon Sep 17 00:00:00 2001 From: Kamal Heib Date: Wed, 4 Feb 2026 09:46:07 -0500 Subject: [PATCH] Update to upstream release 4.34.0 Resolves: RHEL-98262 Signed-off-by: Kamal Heib --- .gitignore | 1 + mstflint.spec | 16 ++++------------ sources | 2 +- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 7e6752c..7171757 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,4 @@ noarch/ /mstflint-4.26.0-1.tar.gz /mstflint-4.30.0-1.tar.gz /mstflint-48a145409b058b275cbcc1fe8edd5581932c5eb0.tar.gz +/mstflint-4.34.0-2.tar.gz diff --git a/mstflint.spec b/mstflint.spec index 878cc39..1f9bfe4 100644 --- a/mstflint.spec +++ b/mstflint.spec @@ -2,23 +2,15 @@ Name: mstflint Summary: Mellanox firmware burning tool -%global forgeurl https://github.com/Mellanox/%{name} -%global version0 4.32.0 -# 4.32.0 has several build bugs, so use a later snapshot. -# top of master_devel branch as of 2025-05-17: -%global commit 48a145409b058b275cbcc1fe8edd5581932c5eb0 -%global date 20250517 -%forgemeta -%global unused_hack %forgeversion -Version: %version0^%{date}git%{sub %commit 1 7} +Version: 4.34.0 Release: %autorelease # COPYING says the license is your choice of OpenIB.org BSD or GPLv2. # kernel/Makefile has the 3-clause BSD. # ext_libs/{iniParser,json,muparser}/ have MIT. # ext_libs/sqlite/ has the SQLite blessing. License: (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing -Url: %{forgeurl} -Source0: %{forgesource} +Url: https://github.com/Mellanox/%{name} +Source0: https://github.com/Mellanox/%{name}/releases/download/v%{version}-2/%{name}-%{version}-2.tar.gz BuildRequires: make BuildRequires: libstdc++-devel, zlib-devel, libibmad-devel, gcc-c++, gcc @@ -37,7 +29,7 @@ This package contains firmware update tool, vpd dump and register dump tools for network adapters based on Mellanox Technologies chips. %prep -%forgeautosetup -p1 +%autosetup -p1 -n %{name}-%{version} find . -type f -perm /a+x \( -name '*.[ch]' -o -name '*.cpp' \) -exec chmod a-x '{}' '+' diff --git a/sources b/sources index cd4d7ac..b84449b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mstflint-48a145409b058b275cbcc1fe8edd5581932c5eb0.tar.gz) = 4040c607f369bbe6c3a251ef484e1a281d54c0eb7e32b2b408ca8e1d176488285a2659a8cac7d49eef29aca702126c40b3112d58a7783c8ee52bb3e692aa6629 +SHA512 (mstflint-4.34.0-2.tar.gz) = 3c0d70584f6928ad38d493a4c2a4ddf6cfb9019a77b418e3623cc6b008d119ce5d3ade76d47bc477a07c4e454ce532bfe2467d29a7bf9fe1448d10ae4cb9cfb3