## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 %global srcname buildstream_plugins_community Name: buildstream-plugins-community Summary: A collection of community-maintained plugins for BuildStream License: LGPL-2.0-or-later AND MIT AND Apache-2.0 URL: https://gitlab.com/BuildStream/buildstream-plugins-community 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.4.0 Release: %autorelease Source0: %{pypi_source} BuildRequires: buildstream >= %{version} BuildRequires: python3-devel >= 3.10 BuildRequires: git Requires: buildstream >= %{version} Requires: quilt # Plugin extras: +extra metapackages so the extras generator # supplies Python deps from upstream METADATA. Recommend them # from the base package. See: # - https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_extras # - https://fedoraproject.org/wiki/Changes/PythonExtras Recommends: %{name}+pypi Recommends: %{name}+deb Recommends: %{name}+httpfetcher Recommends: %{name}+git Recommends: %{name}+cargo2 %description A collection of community-maintained plugins for BuildStream %pyproject_extras_subpkg -n %{name} cargo2 deb git httpfetcher pypi %prep %autosetup -n %{srcname}-%{version} -p1 %generate_buildrequires %pyproject_buildrequires -g test -x httpfetcher,pypi,deb,git,cargo2 %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{srcname} %check # Ignore test that require network access %pytest \ --ignore=tests/sources/bazel.py \ --ignore=tests/sources/bazel_file.py \ --deselect=tests/sources/git_tag.py::test_gitlfs_off \ --deselect=tests/sources/git_tag.py::test_gitlfs_notset %files -n %{name} -f %{pyproject_files} %doc NEWS README.rst %license LICENSE %changelog ## START: Generated by rpmautospec * Sat Oct 03 2026 Javier Jardón - 2.4.0-1 - Update to 2.4.0 * Mon Sep 21 2026 Javier Jardón - 2.3.3-6 - Use "ExclusiveArch" for "x86_64" and "aarch64" so %%check always runs * Mon Sep 21 2026 Javier Jardón - 2.3.3-5 - Use "%%pypi_source" for "Source0" * Mon Sep 21 2026 Javier Jardón - 2.3.3-4 - Define and use "srcname" == "buildstream_plugins_community" as needed * Mon Sep 21 2026 Javier Jardón - 2.3.3-3 - Automatically recommends python dependencies of the plugins * Fri Sep 18 2026 Javier Jardón - 2.3.3-2 - Use %%autorelease and %%autochangelog * Fri Sep 18 2026 Javier Jardón - 2.3.3-1 - Initial import (fedora#2528222) ## END: Generated by rpmautospec