Bastien Nocera 6024708
Name:           codespell
5e527a0
Version:        2.2.6
d25e8d0
Release:        4%{?dist}
Bastien Nocera 6024708
Summary:        Fix common misspellings in text files
Bastien Nocera 6024708
Bastien Nocera b44c7b8
License:        GPLv2 and CC-BY-SA
Bastien Nocera 6024708
URL:            https://github.com/codespell-project/codespell/
5e527a0
Source0:        %{pypi_source}
Bastien Nocera 6024708
BuildArch:      noarch
Bastien Nocera 6024708
Bastien Nocera 6024708
BuildRequires:  python3-devel
5e527a0
# For checks
5e527a0
BuildRequires:  python3dist(chardet)
5e527a0
BuildRequires:  python3dist(pytest)
Bastien Nocera 1ad0f57
Bastien Nocera 6024708
%description
Bastien Nocera 6024708
codespell fixes common misspellings in text files. It's designed primarily for
Bastien Nocera 6024708
checking misspelled words in source code, but it can be used with other files
Bastien Nocera 6024708
as well.
Bastien Nocera 6024708
Bastien Nocera c3562b2
%generate_buildrequires
Bastien Nocera c3562b2
%pyproject_buildrequires
Bastien Nocera c3562b2
Bastien Nocera 6024708
%prep
Bastien Nocera 3bd3fa1
%autosetup -n %{name}-%{version}
Bastien Nocera 6024708
Bastien Nocera 6024708
%build
Bastien Nocera c3562b2
%pyproject_wheel
Bastien Nocera 6024708
Bastien Nocera 6024708
%install
Bastien Nocera c3562b2
%pyproject_install
5e527a0
%pyproject_save_files codespell_lib
Bastien Nocera 6024708
5e527a0
%check
5e527a0
# Skip coverage tests
5e527a0
sed -i -e 's/--cov=codespell_lib//' pyproject.toml
5e527a0
sed -i -e 's/--cov-report=//' pyproject.toml
5e527a0
%pytest
5e527a0
5e527a0
%files -f %{pyproject_files}
Bastien Nocera 6024708
%doc README.rst
5e527a0
%license COPYING
Bastien Nocera 6024708
%{_bindir}/codespell
Bastien Nocera 6024708
Bastien Nocera 6024708
%changelog
d25e8d0
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 2.2.6-4
d25e8d0
- Rebuilt for Python 3.13
d25e8d0
379f7b7
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-3
379f7b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
379f7b7
086c5d5
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-2
086c5d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
086c5d5
5e527a0
* Wed Oct 04 2023 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.2.6-1
5e527a0
- Update to 2.2.6 rhbz#2242071
5e527a0
- Remove unneeded BuildRequires
5e527a0
- Add License file
5e527a0
- Enable check section and skip coverage tests
5e527a0
f7b521c
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-3
f7b521c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
f7b521c
5bb1546
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 2.2.5-2
5bb1546
- Rebuilt for Python 3.12
5bb1546
Bastien Nocera 2da5622
* Wed Jun 14 2023 Bastien Nocera <bnocera@redhat.com> - 2.2.5-1
Bastien Nocera 2da5622
- Update to 2.2.5
Bastien Nocera 2da5622
ca82c8d
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.2.4-2
ca82c8d
- Rebuilt for Python 3.12
ca82c8d
Bastien Nocera c3562b2
* Wed Mar 08 2023 Bastien Nocera <bnocera@redhat.com> - 2.2.4-1
Bastien Nocera c3562b2
- Update to 2.2.4
Bastien Nocera c3562b2
6395b15
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-3
6395b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
6395b15
Bastien Nocera 3bd3fa1
* Wed Oct 19 2022 Bastien Nocera <bnocera@redhat.com> - 2.2.2-2
Bastien Nocera 3bd3fa1
- Re-add egg-info
Bastien Nocera 3bd3fa1
Bastien Nocera c5494bd
* Mon Oct 17 2022 Bastien Nocera <bnocera@redhat.com> - 2.2.2-1
Bastien Nocera c5494bd
- Update to 2.2.2
Bastien Nocera c5494bd
Bastien Nocera 3b98acd
* Thu Aug 18 2022 Bastien Nocera <bnocera@redhat.com> - 2.2.1-1
Bastien Nocera 3b98acd
+ codespell-2.2.1-1
Bastien Nocera 3b98acd
- Update to 2.2.1
Bastien Nocera 3b98acd
Bastien Nocera 2278c2f
* Thu Aug 18 2022 Bastien Nocera <bnocera@redhat.com> - 2.2.0-1
Bastien Nocera 2278c2f
+ codespell-2.2.0-1
Bastien Nocera 2278c2f
- Update to 2.2.0
Bastien Nocera 2278c2f
3fbf062
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-6
3fbf062
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
3fbf062
3205b65
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.1.0-5
3205b65
- Rebuilt for Python 3.11
3205b65
071fc75
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
071fc75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
071fc75
Bastien Nocera b44c7b8
* Mon Jan 03 2022 Bastien Nocera <bnocera@redhat.com> - 2.1.0-3
Bastien Nocera b44c7b8
+ codespell-2.1.0-3
Bastien Nocera b44c7b8
- Fix CC-BY-SA shortname (#2036037)
Bastien Nocera b44c7b8
807dc3d
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
807dc3d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
807dc3d
Bastien Nocera 5c94bde
* Fri Jun 11 2021 Bastien Nocera <bnocera@redhat.com> - 2.1.0-1
Bastien Nocera 5c94bde
+ codespell-2.1.0-1
Bastien Nocera 5c94bde
- Update to 2.1.0
Bastien Nocera 5c94bde
031ba16
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.0-3
031ba16
- Rebuilt for Python 3.10
031ba16
caa5fb4
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
caa5fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
caa5fb4
Bastien Nocera a875b8f
* Tue Nov 24 2020 Bastien Nocera <bnocera@redhat.com> - 2.0.0-1
Bastien Nocera a875b8f
+ codespell-2.0.0-1
Bastien Nocera a875b8f
- Update to 2.0.0
Bastien Nocera a875b8f
fc4519c
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.1-6
fc4519c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fc4519c
Bastien Nocera 4df73c7
* Wed Jul 01 2020 Bastien Nocera <bnocera@redhat.com> - 1.17.1-5
Bastien Nocera 4df73c7
+ codespell-1.17.1-5
Bastien Nocera 4df73c7
- Replace Python version globs with macros to support 3.10
Bastien Nocera 4df73c7
Bastien Nocera 2df3dca
* Fri Jun 19 2020 Bastien Nocera <bnocera@redhat.com> - 1.17.1-4
Bastien Nocera 2df3dca
+ codespell-1.17.1-4
Bastien Nocera 2df3dca
- Bump version to match f32 branch
Bastien Nocera 2df3dca
Bastien Nocera b095bfa
* Fri Jun 19 2020 Bastien Nocera <bnocera@redhat.com> - 1.17.1-3
Bastien Nocera b095bfa
+ codespell-1.17.1-3
Bastien Nocera b095bfa
- Fix usage dictionary not being distributed
Bastien Nocera b095bfa
Bastien Nocera bef0c23
* Mon Jun 15 2020 Bastien Nocera <bnocera@redhat.com> - 1.17.1-2
Bastien Nocera bef0c23
+ codespell-1.17.1-2
Bastien Nocera bef0c23
- Add usage dictionary
Bastien Nocera bef0c23
Bastien Nocera 1ad0f57
* Wed Jun 10 2020 Bastien Nocera <bnocera@redhat.com> - 1.17.1-1
Bastien Nocera 1ad0f57
+ codespell-1.17.1-1
Bastien Nocera 1ad0f57
- Update to 1.17.1
Bastien Nocera 1ad0f57
- Fix Python 3.8 warning (#1840693)
Bastien Nocera 1ad0f57
92e2e3b
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.16.0-3
92e2e3b
- Rebuilt for Python 3.9
92e2e3b
b80f687
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-2
b80f687
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b80f687
710886c
* Fri Nov 15 2019 Wolfgang Stöggl <c72578@yahoo.de> - 1.16.0-1
710886c
- New upstream version 1.16.0
710886c
acb8f69
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.15.0-5
acb8f69
- Rebuilt for Python 3.8.0rc1 (#1748018)
acb8f69
8bd0531
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.15.0-4
8bd0531
- Rebuilt for Python 3.8
8bd0531
f89a5c6
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-3
f89a5c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f89a5c6
Bastien Nocera 6024708
* Tue Jun 18 2019 Bastien Nocera <bnocera@redhat.com> - 1.15.0-2
Bastien Nocera 6024708
+ codespell-1.15.0-2
Bastien Nocera 6024708
- Fix some review comments
Bastien Nocera 6024708
Bastien Nocera 6024708
* Tue Jun 18 2019 hadess <bnocera@redhat.com> - 1.15.0-1
Bastien Nocera 6024708
- Initial package.