## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 13; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Check "min-version" at https://github.com/apache/buildstream-plugins/blob/master/project.conf %global bst_minver 2.5.0 Name: buildstream-plugins Summary: A collection of plugins for the BuildStream project License: Apache-2.0 URL: https://buildstream.build/ BuildArch: noarch # 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 Source0: https://github.com/apache/buildstream-plugins/archive/%{version}/buildstream-plugins-%{version}.tar.gz BuildRequires: buildstream >= %{bst_minver} BuildRequires: python3-devel >= 3.10 BuildRequires: git Requires: buildstream >= %{bst_minver} # docker plugin Recommends: %{py3_dist requests} # git plugin Recommends: git # patch plugin Recommends: patch %description A collection of plugins for the BuildStream project %prep %autosetup -n %{name}-%{version} -p1 %generate_buildrequires %pyproject_buildrequires requirements/test-requirements.txt requirements/plugin-requirements.txt %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l buildstream_plugins %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 %files -n %{name} -f %{pyproject_files} %doc NEWS README.rst %changelog ## START: Generated by rpmautospec * Mon Sep 21 2026 Javier Jardón - 2.8.0-13 - Require BuildStream >= 2.5 * Mon Sep 21 2026 Javier Jardón - 2.8.0-12 - Use "ExclusiveArch" for "x86_64" and "aarch64" so %%check always runs * Mon Sep 21 2026 Javier Jardón - 2.8.0-11 - buildstream-plugins.spec: complete plugin dependencies * Thu Aug 27 2026 Javier Jardón - 2.8.0-10 - Only run tests in x86_64 and aarch64 * Thu Aug 27 2026 Javier Jardón - 2.8.0-9 - Deselct the test that need network to hit the live internet * Thu Aug 27 2026 Javier Jardón - 2.8.0-8 - Add more BuildRequires needed for the tests * Thu Aug 27 2026 Javier Jardón - 2.8.0-7 - %%pyproject_buildrequires do not support `-r` twice * Thu Aug 27 2026 Javier Jardón - 2.8.0-6 - buildstream-plugins.spec: get test dependencies from upstream * Thu Aug 27 2026 Javier Jardón - 2.8.0-5 - buildstream-plugins.spec: requires buildstream for the tests * Thu Aug 27 2026 Javier Jardón - 2.8.0-4 - Add python3-pytest to BuildRequires to be able to run tests * Thu Aug 27 2026 Javier Jardón - 2.8.0-3 - buildstream-plugins.spec: run tests * Thu Aug 27 2026 Javier Jardón - 2.8.0-2 - Update to buildstream-plugins 2.8.0: actually add the tarball * Thu Aug 27 2026 Javier Jardón - 2.8.0-1 - Update to buildstream-plugins 2.8.0 * Wed Jul 15 2026 Fedora Release Engineering - 2.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jun 03 2026 Python Maint - 2.7.0-2 - Rebuilt for Python 3.15 * Sun Mar 08 2026 Javier Jardón - 2.7.0-1 - Update to buildstream-plugins 2.7.0 * Fri Jan 16 2026 Fedora Release Engineering - 2.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jan 16 2026 Fedora Release Engineering - 2.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Sep 19 2025 Python Maint - 2.5.0-2 - Rebuilt for Python 3.14.0rc3 bytecode * Mon Aug 18 2025 Javier Jardón - 2.5.0-1 - Update to buildstream-plugins 2.5.0 * Fri Aug 15 2025 Python Maint - 2.4.0-5 - Rebuilt for Python 3.14.0rc2 bytecode * Wed Jul 23 2025 Fedora Release Engineering - 2.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jul 08 2025 Javier Jardón - 2.4.0-3 - buildstream-plugins.spec: make it depend on buildstream * Mon Jun 02 2025 Python Maint - 2.4.0-2 - Rebuilt for Python 3.14 * Tue Jan 28 2025 Javier Jardón - 2.4.0-1 - Update to buildstream-plugins 2.4.0 * Thu Jan 16 2025 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Aug 15 2024 Javier Jardón - 2.3.0-1 - Update to buildstream-plugins 2.3.0 * Tue Aug 13 2024 Javier Jardón - 2.2.0-1 - Initial import (fedora#2304606). ## END: Generated by rpmautospec