public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/buildstream-plugins] main: Use "ExclusiveArch" for "x86_64" and "aarch64" so %check always runs
@ 2026-09-21 20:18
0 siblings, 0 replies; only message in thread
From: @ 2026-09-21 20:18 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/buildstream-plugins
Branch : main
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=main
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-21 20:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 20:18 [rpms/buildstream-plugins] main: Use "ExclusiveArch" for "x86_64" and "aarch64" so %check always runs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox