14f1e2f
%global srcname colcon-package-selection
14f1e2f
14f1e2f
Name:           python-%{srcname}
efa6a36
Version:        0.2.10
384c8d4
Release:        12%{?dist}
14f1e2f
Summary:        Extension for colcon to select the packages to process
14f1e2f
14f1e2f
License:        ASL 2.0
14f1e2f
URL:            https://colcon.readthedocs.io
14f1e2f
Source0:        https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
14f1e2f
14f1e2f
BuildArch:      noarch
14f1e2f
14f1e2f
%description
14f1e2f
An extension for colcon-core to select a subset of packages for processing.
14f1e2f
14f1e2f
14f1e2f
%package -n python%{python3_pkgversion}-%{srcname}
14f1e2f
Summary:        %{summary}
14f1e2f
BuildRequires:  python%{python3_pkgversion}-devel
14f1e2f
BuildRequires:  python%{python3_pkgversion}-pytest
14f1e2f
BuildRequires:  python%{python3_pkgversion}-setuptools >= 30.3.0
14f1e2f
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
14f1e2f
14f1e2f
%if %{undefined __pythondist_requires}
14f1e2f
Requires:       python%{python3_pkgversion}-colcon-core >= 0.3.19
b18dc7d
%endif
14f1e2f
14f1e2f
%description -n python%{python3_pkgversion}-%{srcname}
14f1e2f
An extension for colcon-core to select a subset of packages for processing.
14f1e2f
14f1e2f
14f1e2f
%prep
14f1e2f
%autosetup -p1 -n %{srcname}-%{version}
14f1e2f
14f1e2f
14f1e2f
%build
14f1e2f
%py3_build
14f1e2f
14f1e2f
14f1e2f
%install
14f1e2f
%py3_install
14f1e2f
14f1e2f
14f1e2f
%check
14f1e2f
%{__python3} -m pytest \
14f1e2f
    --ignore=test/test_spell_check.py \
14f1e2f
    --ignore=test/test_flake8.py \
14f1e2f
    test
14f1e2f
14f1e2f
14f1e2f
%files -n python%{python3_pkgversion}-%{srcname}
14f1e2f
%license LICENSE
14f1e2f
%doc README.rst
14f1e2f
%{python3_sitelib}/colcon_package_selection/
14f1e2f
%{python3_sitelib}/colcon_package_selection-%{version}-py%{python3_version}.egg-info/
14f1e2f
14f1e2f
14f1e2f
%changelog
384c8d4
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.10-12
384c8d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
384c8d4
34f73a3
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.10-11
34f73a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
34f73a3
7b4e7fe
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.10-10
7b4e7fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
7b4e7fe
8354958
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.2.10-9
8354958
- Rebuilt for Python 3.12
8354958
b1cdd82
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.10-8
b1cdd82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
b1cdd82
5ee41b3
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.10-7
5ee41b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
5ee41b3
3383777
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.10-6
3383777
- Rebuilt for Python 3.11
3383777
5cea460
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.10-5
5cea460
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
5cea460
8207018
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.10-4
8207018
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
8207018
e55f492
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.10-3
e55f492
- Rebuilt for Python 3.10
e55f492
cd233b4
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.10-2
cd233b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
cd233b4
efa6a36
* Thu Oct 15 2020 Scott K Logan <logans@cottsay.net> - 0.2.10-1
efa6a36
- Update to 0.2.10 (rhbz#1885820)
efa6a36
e1ac415
* Wed Sep 30 2020 Scott K Logan <logans@cottsay.net> - 0.2.9-1
e1ac415
- Update to 0.2.9 (rhbz#1881837)
e1ac415
28cced1
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-2
28cced1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
28cced1
b29e365
* Mon Jul 20 2020 Scott K Logan <logans@cottsay.net> - 0.2.8-1
b29e365
- Update to 0.2.8 (rhbz#1858474)
b29e365
4f0a8ae
* Fri Jun 12 2020 Scott K Logan <logans@cottsay.net> - 0.2.7-1
4f0a8ae
- Update to 0.2.7 (rhbz#1846607)
4f0a8ae
475a77d
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.6-2
475a77d
- Rebuilt for Python 3.9
475a77d
b18dc7d
* Wed Apr 15 2020 Scott K Logan <logans@cottsay.net> - 0.2.6-1
b18dc7d
- Update to 0.2.6 (rhbz#1820407)
b18dc7d
dc27b68
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-3
dc27b68
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
dc27b68
c6f0d83
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.5-2
c6f0d83
- Rebuilt for Python 3.8.0rc1 (#1748018)
c6f0d83
6810a5f
* Thu Aug 29 2019 Scott K Logan <logans@cottsay.net> - 0.2.5-1
6810a5f
- Update to 0.2.5 (rhbz#1747249)
6810a5f
5b8f741
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.4-4
5b8f741
- Rebuilt for Python 3.8
5b8f741
0cc9176
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-3
0cc9176
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0cc9176
14f1e2f
* Fri Apr 26 2019 Scott K Logan <logans@cottsay.net> - 0.2.4-2
14f1e2f
- Rebuilt to change main python from 3.4 to 3.6 in EPEL 7
14f1e2f
14f1e2f
* Mon Mar 18 2019 Scott K Logan <logans@cottsay.net> - 0.2.4-1
14f1e2f
- Update to 0.2.4
14f1e2f
- Handle automatic dependency generation (f30+)
14f1e2f
14f1e2f
* Thu Jan 17 2019 Scott K Logan <logans@cottsay.net> - 0.2.3-1
14f1e2f
- Update to 0.2.3
14f1e2f
14f1e2f
* Sat Oct 27 2018 Scott K Logan <logans@cottsay.net> - 0.2.1-1
14f1e2f
- Initial package