@ -5,8 +5,8 @@
%bcond_with doc
Name: python-%{pkg_name}
Version: 2.0
Release: 7 %{?dist}
Version: 3.2.1
Release: 5 %{?dist}
Summary: Utility functions for Python class constructs
License: MIT
@ -25,6 +25,7 @@ Requires: python3dist(six)
BuildConflicts: python3dist(pytest) = 3.7.3
BuildRequires: python3-devel
BuildRequires: python3dist(pytest) >= 3.4
BuildRequires: python3dist(more-itertools)
BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(setuptools-scm) >= 1.15
@ -40,8 +41,8 @@ Summary: jaraco-classes documentation
BuildRequires: python3dist(pytest-checkdocs)
BuildRequires: python3dist(sphinx)
BuildRequires: python3dist(jaraco. packaging) >= 3.2
BuildRequires: python3dist(rst. linker) >= 1.9
BuildRequires: python3dist(jaraco- packaging) >= 3.2
BuildRequires: python3dist(rst- linker) >= 1.9
%description -n python-%{pkg_name}-doc
Documentation for jaraco-classes
@ -55,6 +56,8 @@ rm -rf %{pkg_name}.egg-info
# https://src.fedoraproject.org/rpms/python-pytest-flake8/pull-request/2
# AttributeError: 'Application' object has no attribute 'make_notifier'
sed -i 's/ --flake8//' pytest.ini
sed -i 's/ --black//' pytest.ini
sed -i 's/ --cov//' pytest.ini
%build
%py3_build
@ -74,11 +77,13 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build
%files -n python3-%{pkg_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/jaraco/classes
%{python3_sitelib}/jaraco.classes-%{version}-py%{python3_version}.egg-info
# These excludes are provided by python3-jaraco
%exclude %{python3_sitelib}/jaraco/__init__*
%exclude %{python3_sitelib}/jaraco/__pycache__/__init__*
%{python3_sitelib}/jaraco
%{python3_sitelib}/jaraco.classes-%{version}-py?.?.egg-info
%exclude %dir %{python3_sitelib}/jaraco/__pycache__
%exclude %dir %{python3_sitelib}/jaraco
%if %{with docs}
%files -n python-%{pkg_name}-doc
@ -87,6 +92,39 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build
%endif
%changelog
* Thu Apr 27 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 3.2.1-5
- Rebuilt for MSVSphere 9.1
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.2.1-3
- Rebuilt for Python 3.10
* Thu Mar 04 2021 Miro Hrončok <mhroncok@redhat.com> - 3.2.1-2
- Don't co-own /usr/lib/python3.X/site-packages/jaraco
* Tue Feb 23 2021 Dan Radez <dradez@redhat.com> - 3.2.1-1
- Update to 3.2.1
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.1.0-2
- Rebuilt for Python 3.9
* Wed Feb 12 2020 Dan Radez <dan@radez.net> - 3.1.0
- update to 3.1.0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Nov 11 2019 Ken Dreyer <kdreyer@redhat.com> - 2.0-7
- Set minimum pytest version to 3.4 for compatibility with el8