|
|
5f9146 |
%global pypi_name jaraco.collections
|
|
|
5f9146 |
|
|
|
5f9146 |
Name: python-jaraco-collections
|
|
|
5f9146 |
Version: 3.0.0
|
|
|
5f9146 |
Release: 8%{?dist}
|
|
|
5f9146 |
Summary: Collection objects similar to those in stdlib by jaraco
|
|
|
5f9146 |
|
|
|
5f9146 |
License: MIT
|
|
|
5f9146 |
URL: https://github.com/jaraco/jaraco.collections
|
|
|
5f9146 |
Source0: %{pypi_source}
|
|
|
5f9146 |
BuildArch: noarch
|
|
|
5f9146 |
|
|
|
5f9146 |
BuildRequires: python3-devel
|
|
|
5f9146 |
BuildRequires: python3dist(jaraco.classes)
|
|
|
5f9146 |
BuildRequires: python3dist(jaraco.packaging) >= 3.2
|
|
|
5f9146 |
|
|
|
5f9146 |
BuildRequires: python3dist(setuptools)
|
|
|
5f9146 |
BuildRequires: python3dist(setuptools-scm) >= 1.15.0
|
|
|
5f9146 |
BuildRequires: python3dist(sphinx)
|
|
|
5f9146 |
|
|
|
5f9146 |
%if %{with tests}
|
|
|
5f9146 |
# test requirements
|
|
|
5f9146 |
BuildRequires: python3dist(jaraco.text)
|
|
|
5f9146 |
BuildRequires: python3dist(pytest) >= 3.5
|
|
|
5f9146 |
BuildRequires: python3dist(pytest-black-multipy)
|
|
|
5f9146 |
BuildRequires: python3dist(pytest-checkdocs) >= 1.2.3
|
|
|
5f9146 |
BuildRequires: python3dist(pytest-cov)
|
|
|
5f9146 |
BuildRequires: python3dist(pytest-flake8)
|
|
|
5f9146 |
BuildRequires: python3dist(rst.linker) >= 1.9
|
|
|
5f9146 |
BuildRequires: python3dist(six) >= 1.7.0
|
|
|
5f9146 |
%endif
|
|
|
5f9146 |
|
|
|
5f9146 |
%description
|
|
|
5f9146 |
%{summary}
|
|
|
5f9146 |
|
|
|
5f9146 |
%package -n python3-jaraco-collections
|
|
|
5f9146 |
Summary: %{summary}
|
|
|
5f9146 |
|
|
|
5f9146 |
Requires: python3-jaraco
|
|
|
5f9146 |
|
|
|
5f9146 |
# The package name was changed. Obsolete the previous
|
|
|
5f9146 |
# name to provide a clean upgrade path.
|
|
|
5f9146 |
# Remove in Fedora >= 36
|
|
|
5f9146 |
Obsoletes: python3-jaraco.collections < 3.0.0-3
|
|
|
5f9146 |
|
|
|
5f9146 |
%description -n python3-jaraco-collections
|
|
|
5f9146 |
%{summary}
|
|
|
5f9146 |
|
|
|
5f9146 |
%package -n python-jaraco-collections-doc
|
|
|
5f9146 |
Summary: jaraco.collections documentation
|
|
|
5f9146 |
|
|
|
5f9146 |
# The package name was changed. Obsolete the previous
|
|
|
5f9146 |
# name to provide a clean upgrade path.
|
|
|
5f9146 |
# Remove in Fedora >= 36
|
|
|
5f9146 |
Obsoletes: python-jaraco.collections-doc < 3.0.0-3
|
|
|
5f9146 |
|
|
|
5f9146 |
%description -n python-jaraco-collections-doc
|
|
|
5f9146 |
Documentation for jaraco.collections
|
|
|
5f9146 |
|
|
|
5f9146 |
%prep
|
|
|
5f9146 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
5f9146 |
# Remove bundled egg-info
|
|
|
5f9146 |
rm -rf %{pypi_name}.egg-info
|
|
|
5f9146 |
|
|
|
5f9146 |
%build
|
|
|
5f9146 |
%py3_build
|
|
|
5f9146 |
# generate html docs
|
|
|
5f9146 |
PYTHONPATH=${PWD} sphinx-build-3 docs html
|
|
|
5f9146 |
# remove the sphinx-build leftovers
|
|
|
5f9146 |
rm -rf html/.{doctrees,buildinfo}
|
|
|
5f9146 |
|
|
|
5f9146 |
%if %{with tests}
|
|
|
5f9146 |
%check
|
|
|
5f9146 |
%pytest
|
|
|
5f9146 |
%endif
|
|
|
5f9146 |
|
|
|
5f9146 |
%install
|
|
|
5f9146 |
%py3_install
|
|
|
5f9146 |
|
|
|
5f9146 |
%files -n python3-jaraco-collections
|
|
|
5f9146 |
%license LICENSE
|
|
|
5f9146 |
%doc README.rst
|
|
|
5f9146 |
# These excludes are provided by python3-jaraco
|
|
|
5f9146 |
%pycached %exclude %{python3_sitelib}/jaraco/__init__.py
|
|
|
5f9146 |
%pycached %{python3_sitelib}/jaraco/collections.py
|
|
|
5f9146 |
%{python3_sitelib}/jaraco.collections-%{version}-py%{python3_version}.egg-info/
|
|
|
5f9146 |
|
|
|
5f9146 |
%files -n python-jaraco-collections-doc
|
|
|
5f9146 |
%doc html
|
|
|
5f9146 |
%license LICENSE
|
|
|
5f9146 |
|
|
|
5f9146 |
%changelog
|
|
|
5f9146 |
* Fri Oct 22 2021 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 3.0.0-8
|
|
|
5f9146 |
- Rebuild from lookaside
|
|
|
5f9146 |
|
|
|
5f9146 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-7
|
|
|
5f9146 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
5f9146 |
|
|
|
5f9146 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.0.0-6
|
|
|
5f9146 |
- Rebuilt for Python 3.10
|
|
|
5f9146 |
|
|
|
5f9146 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-5
|
|
|
5f9146 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
5f9146 |
|
|
|
5f9146 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-4
|
|
|
5f9146 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
5f9146 |
|
|
|
5f9146 |
* Fri Jun 26 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.0.0-3
|
|
|
5f9146 |
- Fix a file conflict with python3-jaraco
|
|
|
5f9146 |
- Rename the binary rpms to conform to the packaging guidelines
|
|
|
5f9146 |
- Misc packaging fixes
|
|
|
5f9146 |
|
|
|
5f9146 |
* Fri Jun 19 2020 Matthias Runge <mrunge@redhat.com> - 3.0.0-2
|
|
|
5f9146 |
- review feedback: fix license, remove (wrong) conflict
|
|
|
5f9146 |
|
|
|
5f9146 |
* Fri Mar 13 2020 Matthias Runge <mrunge@redhat.com> - 3.0.0-1
|
|
|
5f9146 |
- Initial package.
|