## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 # FIXME: Test won't work offline %bcond_with check %global pypi_name BuildStream-external %global sysname bst_external Name: bst-external Version: 0.29.0 Release: %autorelease Summary: Additional BuildStream plugins BuildArch: noarch License: LGPLv2+ URL: https://gitlab.com/BuildStream/bst-external Source0: %{pypi_source} BuildRequires: python3-devel >= 3.11 BuildRequires: python3dist(pytest-runner) BuildRequires: python3dist(pytest) >= 3.1.0 BuildRequires: python3dist(requests) BuildRequires: python3dist(setuptools-scm) BuildRequires: python3dist(setuptools) BuildRequires: python3dist(tomli) %if %{with check} # FIXME: Package was retired in Fedora # * https://bugzilla.redhat.com/show_bug.cgi?id=1839789 # * https://gitlab.com/BuildStream/bst-external/-/issues/44 #BuildRequires: python3dist(pep8) #BuildRequires: python3dist(pytest-pep8) #BuildRequires: python3dist(pytest-env) BuildRequires: python3dist(buildstream) BuildRequires: python3dist(coverage) >= 4.4 BuildRequires: python3dist(pytest-cov) BuildRequires: python3dist(pytest-datafiles) BuildRequires: python3dist(pytest-xdist) BuildRequires: python3dist(ruamel-yaml) %endif %description A collection of BuildStream plugins that don't fit in with the core plugins for whatever reason. %prep %autosetup -n %{pypi_name}-%{version} -p1 sed 's|coverage == 4.4.0|coverage|' -i setup.py %build %py3_build %install %py3_install %if %{with check} %check export PATH=%{buildroot}%{_bindir}:${PATH} export PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m pytest -v %endif %files %license LICENSE %doc README.rst NEWS MAINTAINERS %{python3_sitelib}/%{sysname}/ %{python3_sitelib}/BuildStream_external-%{version}-py%{python3_version}.egg-info %changelog * Wed Jan 18 2023 Fedora Release Engineering 0.29.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Oct 06 2022 Artem Polishchuk 0.29.0-2 - build: BR: Replace toml with tomli * Thu Aug 11 2022 Artem Polishchuk 0.29.0-1 - chore(update): 0.29.0 * Wed Jul 20 2022 Fedora Release Engineering 0.28.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Jun 26 2022 Artem Polishchuk 0.28.1-1 - chore(update): 0.28.1 * Tue Jun 21 2022 Artem Polishchuk 0.28.0-1 - chore(update): 0.28.0 * Mon Jun 13 2022 Python Maint 0.27.1-3 - Rebuilt for Python 3.11 * Wed May 11 2022 Artem Polishchuk - 0.27.1-1 - chore(update): 0.27.1 * Thu Feb 10 2022 Artem Polishchuk - 0.26.0-1 - chore(update): 0.26.0 * Wed Jan 19 2022 Fedora Release Engineering - 0.25.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Sep 17 2021 Artem Polishchuk - 0.25.0-1 - build(update): 0.25.0 * Sat Aug 28 2021 Artem Polishchuk - 0.24.0-1 - build(update): 0.24.0 * Wed Jul 21 2021 Fedora Release Engineering - 0.23.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 16 2021 Artem Polishchuk - 0.23.1-1 - build(update): 0.23.1 * Fri Jun 04 2021 Python Maint - 0.21.0-4 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Fedora Release Engineering - 0.21.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jan 12 2021 Miro HronĨok - 0.21.0-2 - Switch from pytoml to toml - Fixes: rhbz#1899488 * Sat Oct 3 2020 Artem Polishchuk - 0.21.0-1 - Update to 0.21.0 * Mon Jul 27 2020 Fedora Release Engineering - 0.20.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon May 25 2020 Artem Polishchuk - 0.20.0-2 - Adapt for Fedora packaging guidelines * Sun Mar 01 2020 gasinvein - 0.20.0-1 - new version * Wed Nov 27 2019 gasinvein - 0.19.1-1 - new version * Fri Sep 27 2019 gasinvein - 0.18.0-1 - new version * Sat Jun 8 2019 gasinvein - Initial package