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: delete the unused kernel/ sources in %prep
Date: Fri, 20 Nov 2026 07:01:48 GMT [thread overview]
Message-ID: <179515810821.1.12780709671939248734.rpms-mstflint-c65aa4e1bf76@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mstflint
Branch : f45
Commit : c65aa4e1bf7674b93c29e08a26b49230986aa1f6
Author : Michal Schmidt <mschmidt@redhat.com>
Date : 2026-11-19T18:29:18+01:00
Stats : +5/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/mstflint/c/c65aa4e1bf7674b93c29e08a26b49230986aa1f6?branch=f45
Log:
delete the unused kernel/ sources in %prep
kernel/ holds a separate out-of-tree kernel module that this package never
builds. The userspace build only includes kernel/mst.h (from
mtcr_ul/mtcr_ul_com.c), so keep just that header and delete the module
sources, its Makefile and its spec file. Building the module from this tree
is now impossible instead of merely not done.
(cherry picked from commit 24f5f2559eb2d9bd9f67b759535847c5aa9a4efa)
---
diff --git a/mstflint.spec b/mstflint.spec
index a86c014..a8c479a 100644
--- a/mstflint.spec
+++ b/mstflint.spec
@@ -133,6 +133,11 @@ for network adapters based on Mellanox Technologies chips.
rm -rf ext_libs/asio ext_libs/crow
find %{_unbundle_dirs} -mindepth 1 -name Makefile.am -o -print -delete
+# kernel/ is a separate out-of-tree module tree; this package never builds or
+# installs it. Keep only kernel/mst.h, which mtcr_ul/mtcr_ul_com.c includes,
+# and drop the rest so that building the module from here is impossible.
+find kernel -mindepth 1 ! -name mst.h -delete
+
find . -type f -perm /a+x \( -name '*.[ch]' -o -name '*.cpp' \) -exec chmod a-x '{}' '+'
%build
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=179515810821.1.12780709671939248734.rpms-mstflint-c65aa4e1bf76@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