public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Christoph Erhardt <fedora@sicherha.de>
To: git-commits@fedoraproject.org
Subject: [rpms/mold] rawhide: Move `%check` section right after `%install`
Date: Sun, 01 Nov 2026 10:51:14 GMT	[thread overview]
Message-ID: <179353027413.1.17626154575589964522.rpms-mold-e0d76026c97d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/mold
            Branch : rawhide
            Commit : e0d76026c97d9d4fdbf2000f05c59b426c8e4741
            Author : Christoph Erhardt <fedora@sicherha.de>
            Date   : 2026-11-01T11:27:23+01:00
            Stats  : +6/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/mold/c/e0d76026c97d9d4fdbf2000f05c59b426c8e4741?branch=rawhide

            Log:
            Move `%check` section right after `%install`

[skip changelog]

---
diff --git a/mold.spec b/mold.spec
index 8a8e98b..b907be6 100644
--- a/mold.spec
+++ b/mold.spec
@@ -93,6 +93,12 @@ rm -r third-party/tbb
 %cmake_install
 touch %{buildroot}%{_bindir}/ld
 
+%check
+%if %{use_gcc_toolset}
+. /opt/rh/gcc-toolset-13/enable
+%endif
+%ctest
+
 %post
 if [ "$1" = 1 ]; then
   update-alternatives --install %{_bindir}/ld ld %{_bindir}/ld.mold 1
@@ -103,12 +109,6 @@ if [ "$1" = 0 ]; then
   update-alternatives --remove ld %{_bindir}/ld.mold
 fi
 
-%check
-%if %{use_gcc_toolset}
-. /opt/rh/gcc-toolset-13/enable
-%endif
-%ctest
-
 %files
 %license %{_docdir}/mold/LICENSE
 %doc README.md

                 reply	other threads:[~2026-11-01 10:51 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=179353027413.1.17626154575589964522.rpms-mold-e0d76026c97d@fedoraproject.org \
    --to=fedora@sicherha.de \
    --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