public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mstflint] f45: move the bundling bconds to the top of the spec
@ 2026-11-20 7:01 Michal Schmidt
0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-11-20 7:01 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mstflint
Branch : f45
Commit : 40b45531cdc7d63b9d1f72d8380d80c5347aca2c
Author : Michal Schmidt <mschmidt@redhat.com>
Date : 2026-11-19T18:29:12+01:00
Stats : +20/-20 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/mstflint/c/40b45531cdc7d63b9d1f72d8380d80c5347aca2c?branch=f45
Log:
move the bundling bconds to the top of the spec
They are evaluated before anything else that depends on them.
(cherry picked from commit f711d7b9adc840fa82b7b9c32c777af822c9b6eb)
---
diff --git a/mstflint.spec b/mstflint.spec
index e3d8665..06a685e 100644
--- a/mstflint.spec
+++ b/mstflint.spec
@@ -3,26 +3,6 @@
%global mainver 4.38.0
%global subver 1
-Name: mstflint
-Summary: Mellanox firmware burning tool
-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.
-# ext_libs/{iniParser,json}/ have MIT.
-# ext_libs/muparser/ has BSD-2-Clause.
-# ext_libs/sqlite/ has the SQLite blessing.
-License: (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND BSD-2-Clause AND blessing
-Url: https://github.com/Mellanox/%{name}
-# The upstream tarball at %%realSource0 ships prebuilt, non-free libdpa_elf
-# blobs (mlxdpa/dpa_elf/*/libdpa_elf). Removing them in %%prep is not enough,
-# since they would still be present in the source RPM. Instead, Source0 is a
-# repacked version with the blobs stripped out by generate-tarball.sh,
-# distinguished from the pristine upstream tarball by a ".free" suffix.
-%global realSource0 https://github.com/Mellanox/%{name}/releases/download/v%{mainver}-%{subver}/%{name}-%{mainver}-%{subver}.tar.gz
-Source0: %{name}-%{mainver}-%{subver}.free.tar.gz
-Source1: generate-tarball.sh
-
# jsoncpp, muParser and spdlog are not in the RHEL/ELN content set, so we
# must bundle them there. On Fedora, use the system libraries.
# iniparser-devel on RHEL <= 10 lacks a .pc file, so pkg-config detection
@@ -43,6 +23,26 @@ Source1: generate-tarball.sh
%endif
%endif
+Name: mstflint
+Summary: Mellanox firmware burning tool
+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.
+# ext_libs/{iniParser,json}/ have MIT.
+# ext_libs/muparser/ has BSD-2-Clause.
+# ext_libs/sqlite/ has the SQLite blessing.
+License: (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND BSD-2-Clause AND blessing
+Url: https://github.com/Mellanox/%{name}
+# The upstream tarball at %%realSource0 ships prebuilt, non-free libdpa_elf
+# blobs (mlxdpa/dpa_elf/*/libdpa_elf). Removing them in %%prep is not enough,
+# since they would still be present in the source RPM. Instead, Source0 is a
+# repacked version with the blobs stripped out by generate-tarball.sh,
+# distinguished from the pristine upstream tarball by a ".free" suffix.
+%global realSource0 https://github.com/Mellanox/%{name}/releases/download/v%{mainver}-%{subver}/%{name}-%{mainver}-%{subver}.tar.gz
+Source0: %{name}-%{mainver}-%{subver}.free.tar.gz
+Source1: generate-tarball.sh
+
BuildRequires: make
BuildRequires: libstdc++-devel, zlib-devel, libibmad-devel, gcc-c++, gcc
BuildRequires: libcurl-devel, boost-devel, libxml2-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-20 7:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 7:01 [rpms/mstflint] f45: move the bundling bconds to the top of the spec Michal Schmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox