public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Lind <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/mcrouter] rawhide: Add a license_check_only bcond
Date: Wed, 07 Oct 2026 17:11:30 GMT [thread overview]
Message-ID: <179139309028.1.7551632079976732993.rpms-mcrouter-3cc5a06e57a6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mcrouter
Branch : rawhide
Commit : 3cc5a06e57a6abf671e8d47500598d1d400dc88f
Author : Michel Lind <salimma@fedoraproject.org>
Date : 2026-09-29T10:34:35+01:00
Stats : +7/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/mcrouter/c/3cc5a06e57a6abf671e8d47500598d1d400dc88f?branch=rawhide
Log:
Add a license_check_only bcond
- Run the license check and stop before the build, so a new vendor
tarball can be checked against the License tag in minutes
Assisted-by: Claude Code:claude-opus-5
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
---
diff --git a/mcrouter.spec b/mcrouter.spec
index 916a564..89fd19b 100644
--- a/mcrouter.spec
+++ b/mcrouter.spec
@@ -8,6 +8,12 @@
# the autotools days). Enable once a mock run shows what it needs.
%bcond_with check
+# Run the license check and stop, without the (hours long) compile: the fast
+# way to find out whether a new vendor tarball needs a different License tag.
+# The build then fails on purpose, so this is for local runs only, never CI.
+# mock -r fedora-rawhide-aarch64-getdeps --with license_check_only ...
+%bcond_with license_check_only
+
# Upstream cuts a weekly tag, vYYYY.MM.DD.NN; Version is the tag without its
# v. For a snapshot past the tag, also paste the two %%global lines
# ./snapshot.sh prints (the commit and its distance from the tag): Version
@@ -165,6 +171,7 @@ rm -rf mcrouter/m4
# vendor_checked_sha512 above.
# -L: liboqs's LICENSE.txt sits in a versioned subdirectory of its tree
%getdeps_vendor_license_check -c %{SOURCE2} -L %{?with_license_full_check:-f}
+%{?with_license_check_only: echo "license check only: stopping before the build"; exit 1}
%getdeps_build %{?with_check:-t}
reply other threads:[~2026-10-07 17:11 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=179139309028.1.7551632079976732993.rpms-mcrouter-3cc5a06e57a6@fedoraproject.org \
--to=salimma@fedoraproject.org \
--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