public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mstflint] f45: move the bundling bconds to the top of the spec
Date: Fri, 20 Nov 2026 07:01:46 GMT	[thread overview]
Message-ID: <179515810651.1.1603153153066756420.rpms-mstflint-40b45531cdc7@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-11-20  7:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179515810651.1.1603153153066756420.rpms-mstflint-40b45531cdc7@fedoraproject.org \
    --to=mschmidt@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox