|
 |
367a6d4 |
%global srcname colcon-ed
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
Name: python-%{srcname}
|
|
 |
bb57952 |
Version: 0.2.2
|
|
 |
24a9718 |
Release: 5%{?dist}
|
|
 |
367a6d4 |
Summary: Extension for colcon to edit a file within a package
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
License: ASL 2.0
|
|
 |
367a6d4 |
URL: https://colcon.readthedocs.io
|
|
 |
367a6d4 |
Source0: https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
BuildArch: noarch
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
%description
|
|
 |
367a6d4 |
An extension for colcon-core to edit a file within a package.
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
%package -n python%{python3_pkgversion}-%{srcname}
|
|
 |
367a6d4 |
Summary: %{summary}
|
|
 |
367a6d4 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
 |
367a6d4 |
BuildRequires: python%{python3_pkgversion}-pytest
|
|
 |
367a6d4 |
BuildRequires: python%{python3_pkgversion}-setuptools >= 30.3.0
|
|
 |
367a6d4 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
%if %{undefined __pythondist_requires}
|
|
 |
367a6d4 |
Requires: python%{python3_pkgversion}-colcon-core >= 0.5.2
|
|
 |
367a6d4 |
%endif
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
%description -n python%{python3_pkgversion}-%{srcname}
|
|
 |
367a6d4 |
An extension for colcon-core to edit a file within a package.
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
%prep
|
|
 |
367a6d4 |
%autosetup -p1 -n %{srcname}-%{version}
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
%build
|
|
 |
367a6d4 |
%py3_build
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
%install
|
|
 |
367a6d4 |
%py3_install
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
%check
|
|
 |
367a6d4 |
%{__python3} -m pytest \
|
|
 |
367a6d4 |
--ignore=test/test_spell_check.py \
|
|
 |
367a6d4 |
--ignore=test/test_flake8.py \
|
|
 |
367a6d4 |
test
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
%files -n python%{python3_pkgversion}-%{srcname}
|
|
 |
367a6d4 |
%license LICENSE
|
|
 |
367a6d4 |
%doc README.rst
|
|
 |
367a6d4 |
%{python3_sitelib}/colcon_ed/
|
|
 |
367a6d4 |
%{python3_sitelib}/colcon_ed-%{version}-py%{python3_version}.egg-info/
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
|
|
 |
367a6d4 |
%changelog
|
|
 |
24a9718 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-5
|
|
 |
24a9718 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
24a9718 |
|
|
 |
69535f8 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-4
|
|
 |
69535f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
69535f8 |
|
|
 |
cf599e5 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.2-3
|
|
 |
cf599e5 |
- Rebuilt for Python 3.11
|
|
 |
cf599e5 |
|
|
 |
148b4c7 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
|
|
 |
148b4c7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
148b4c7 |
|
|
 |
bb57952 |
* Mon Jan 03 2022 Scott K Logan <logans@cottsay.net> - 0.2.2-1
|
|
 |
bb57952 |
- Update to 0.2.2 (rhbz#2026254)
|
|
 |
bb57952 |
|
|
 |
25ebbcc |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-4
|
|
 |
25ebbcc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
25ebbcc |
|
|
 |
aa0b0f8 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.1.2-3
|
|
 |
aa0b0f8 |
- Rebuilt for Python 3.10
|
|
 |
aa0b0f8 |
|
|
 |
482fd0b |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2
|
|
 |
482fd0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
482fd0b |
|
|
 |
67b4491 |
* Mon Nov 02 2020 Scott K Logan <logans@cottsay.net> - 0.1.2-1
|
|
 |
67b4491 |
- Update to 0.1.2 (rhbz#1893555)
|
|
 |
67b4491 |
|
|
 |
773943b |
* Wed Sep 30 2020 Scott K Logan <logans@cottsay.net> - 0.1.1-1
|
|
 |
773943b |
- Update to 0.1.1 (rhbz#1880755)
|
|
 |
773943b |
|
|
 |
0453679 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-3
|
|
 |
0453679 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
0453679 |
|
|
 |
c7cd5ca |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.1.0-2
|
|
 |
c7cd5ca |
- Rebuilt for Python 3.9
|
|
 |
c7cd5ca |
|
|
 |
367a6d4 |
* Sun May 10 2020 Scott K Logan <logans@cottsay.net> - 0.1.0-1
|
|
 |
367a6d4 |
- Initial package (rhbz#1833745)
|