%global srcname colcon-defaults Name: python-%{srcname} Version: 0.2.9 Release: 1%{?dist} Summary: Extension for colcon to read defaults from a config file License: Apache-2.0 URL: https://colcon.readthedocs.io Source0: https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch %description An extension for colcon-core to provide custom default values for the command line arguments from a configuration file. %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-setuptools >= 30.3.0 %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %if %{undefined __pythondist_requires} Requires: python%{python3_pkgversion}-colcon-core >= 0.5.5 Requires: python%{python3_pkgversion}-PyYAML %endif %description -n python%{python3_pkgversion}-%{srcname} An extension for colcon-core to provide custom default values for the command line arguments from a configuration file. %prep %autosetup -p1 -n %{srcname}-%{version} %build %py3_build %install %py3_install %check %{__python3} -m pytest \ --ignore=test/test_spell_check.py \ --ignore=test/test_flake8.py \ test %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/colcon_defaults/ %{python3_sitelib}/colcon_defaults-%{version}-py%{python3_version}.egg-info/ %changelog * Fri Dec 20 2024 Scott K Logan - 0.2.9-1 - Update to 0.2.9 (rhbz#2333150) - convert license to SPDX * Tue May 09 2023 Scott K Logan - 0.2.8-1 - Update to 0.2.8 (rhbz#2166743) * Wed Dec 21 2022 Scott K Logan - 0.2.7-1 - Update to 0.2.7 (rhbz#2155374) * Thu Dec 23 2021 Scott K Logan - 0.2.6-1 - Update to 0.2.6 (rhbz#2035231) * Wed Apr 15 2020 Scott K Logan - 0.2.5-1 - Update to 0.2.5 (rhbz#1789463) * Fri Apr 26 2019 Scott K Logan - 0.2.2-1 - Update to 0.2.2 - Rebuilt to change main python from 3.4 to 3.6 in EPEL 7 - Handle automatic dependency generation (f30+) * Sat Oct 27 2018 Scott K Logan - 0.2.1-1 - Initial package