public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mstflint] rawhide: Update to upstream v4.37.0-1.1
@ 2026-09-21 12:55 Michal Schmidt
  0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-09-21 12:55 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/mstflint
            Branch : rawhide
            Commit : 4d11e3b3af556baf39a9b41d90940c5fb44eb48e
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2026-09-17T20:27:29+02:00
            Stats  : +8/-4 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/mstflint/c/4d11e3b3af556baf39a9b41d90940c5fb44eb48e?branch=rawhide

            Log:
            Update to upstream v4.37.0-1.1

Add macros to deal with the strange upstream versioning scheme.
We cannot use a dash in Version. Use an underscore instead.

This upstream version fixes the license headers of the sources:
https://github.com/Mellanox/mstflint/issues/1860

---
diff --git a/.gitignore b/.gitignore
index 64e37e3..6c38209 100644
--- a/.gitignore
+++ b/.gitignore
@@ -50,3 +50,4 @@ noarch/
 /mstflint-4.34.0-2.tar.gz
 /mstflint-4.35.0-1.tar.gz
 /mstflint-4.36.0-1.tar.gz
+/mstflint-4.37.0-1.1.tar.gz

diff --git a/mstflint.spec b/mstflint.spec
index d6c2ab1..6e4964b 100644
--- a/mstflint.spec
+++ b/mstflint.spec
@@ -1,8 +1,11 @@
 %global __remake_config 1
 
+%global mainver 4.37.0
+%global subver  1.1
+
 Name:		mstflint
 Summary:	Mellanox firmware burning tool
-Version:	4.36.0
+Version:	%{mainver}_%{subver}
 Release:	%autorelease
 # COPYING says the license is your choice of OpenIB.org BSD or GPLv2.
 # kernel/Makefile has the 3-clause BSD.
@@ -10,7 +13,7 @@ Release:	%autorelease
 # ext_libs/sqlite/ has the SQLite blessing.
 License:	(GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
 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%{mainver}-%{subver}/%{name}-%{mainver}-%{subver}.tar.gz
 
 # jsoncpp and muParser are not in the RHEL/ELN content set, so we must
 # bundle them there. On Fedora, use the system libraries.
@@ -70,7 +73,7 @@ This package contains firmware update tool, vpd dump and register dump tools
 for network adapters based on Mellanox Technologies chips.
 
 %prep
-%autosetup -p1 -n %{name}-%{version}
+%autosetup -p1 -n %{name}-%{mainver}
 
 # Delete blobs
 rm mlxdpa/dpa_elf/*/libdpa_elf

diff --git a/sources b/sources
index 6ab19b2..2cef648 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mstflint-4.36.0-1.tar.gz) = 2a2d6db8724d548ecc534f163852f0996d3b1c949cce42c80ac3b9f97a286b2d6065e0f992f458430f45c750bd842afcfc86e180d56506ddac6a0299ba374c28
+SHA512 (mstflint-4.37.0-1.1.tar.gz) = b0e50867d98481d70989faa06ddae38b46afca813e48dda29ae4b20b1725e3ac42e0995d13d9a07c6f954c4472a00e5d7773dd5423912647e3b60cbd6c9c57fe

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-21 12:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 12:55 [rpms/mstflint] rawhide: Update to upstream v4.37.0-1.1 Michal Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox