public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/buildstream-plugins] f45: Use "ExclusiveArch" for "x86_64" and "aarch64" so %check always runs
Date: Mon, 21 Sep 2026 20:31:58 GMT	[thread overview]
Message-ID: <179002271822.1.9537970212969372138.rpms-buildstream-plugins-bb988e76defa@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/buildstream-plugins
            Branch : f45
            Commit : bb988e76defa07802dd2ae2edd503b09565a013e
            Author : Javier Jardón <jjardon@gnome.org>
            Date   : 2026-09-21T21:17:41+01:00
            Stats  : +5/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/buildstream-plugins/c/bb988e76defa07802dd2ae2edd503b09565a013e?branch=f45

            Log:
            Use "ExclusiveArch" for "x86_64" and "aarch64" so %check always runs

buildstream._testing._sourcetests project.conf only allows arch
values "x86-64" and "aarch64".

See:
- https://github.com/apache/buildstream/blob/master/src/buildstream/_testing/_sourcetests/project/project.conf
- https://github.com/apache/buildstream/blob/master/src/buildstream/_testing/_sourcetests/project/elements/base/base-alpine.bst

---
diff --git a/buildstream-plugins.spec b/buildstream-plugins.spec
index 0cc1c08..6144cd4 100644
--- a/buildstream-plugins.spec
+++ b/buildstream-plugins.spec
@@ -4,9 +4,11 @@ License:       Apache-2.0
 URL:           https://buildstream.build/
 
 BuildArch:     noarch
-# Match buildstream: the test suite imports buildstream._testing, and the
-# binary already Requires buildstream. Core is unavailable on these arches.
-ExcludeArch:   %{ix86} s390x
+# Tests import buildstream._testing._sourcetests, which only has
+# Alpine images for x86-64 and aarch64:
+# https://github.com/apache/buildstream/blob/master/src/buildstream/_testing/_sourcetests/project/project.conf
+# https://github.com/apache/buildstream/blob/master/src/buildstream/_testing/_sourcetests/project/elements/base/base-alpine.bst
+ExclusiveArch: x86_64 aarch64
 
 Version:       2.8.0
 Release:       %autorelease
@@ -42,14 +44,12 @@ A collection of plugins for the BuildStream project
 %pyproject_install
 %pyproject_save_files -l buildstream_plugins
 
-%ifarch x86_64 aarch64
 %check
 %pytest -m "not integration" \
   --deselect tests/sources/docker.py::test_docker_fetch \
   --deselect tests/sources/docker.py::test_docker_source_checkout \
   --deselect tests/sources/docker.py::test_fetch_duplicate_layers \
   --deselect tests/sources/cargo.py::test_cargo_track_fetch_build
-%endif
 
 %files -n %{name} -f %{pyproject_files}
 %doc NEWS README.rst

                 reply	other threads:[~2026-09-21 20:31 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=179002271822.1.9537970212969372138.rpms-buildstream-plugins-bb988e76defa@fedoraproject.org \
    --to=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