diff --git a/jaraco.collections-4.1.0.tar.gz b/jaraco.collections-4.1.0.tar.gz deleted file mode 100644 index 95d9f3480034de78a2d1cbd2835533997f4abe6b..0000000000000000000000000000000000000000 Binary files a/jaraco.collections-4.1.0.tar.gz and /dev/null differ diff --git a/jaraco.collections-5.0.0.tar.gz b/jaraco.collections-5.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9bf040a61618397664c5b8f6816d6d35512a2dcf Binary files /dev/null and b/jaraco.collections-5.0.0.tar.gz differ diff --git a/python-jaraco-collections.spec b/python-jaraco-collections.spec index cf24487d4757a4777f1f01bb5133cfe875ccd186..cbc4948bdf0a6bdacea19576647ad29e337917a4 100644 --- a/python-jaraco-collections.spec +++ b/python-jaraco-collections.spec @@ -1,28 +1,28 @@ %global _empty_manifest_terminate_build 0 -Name: python-jaraco-collections -Version: 4.1.0 -Release: 2 -Summary: Collection objects similar to those in stdlib by jaraco -License: MIT -URL: https://github.com/jaraco/jaraco.collections -SOurce0: https://files.pythonhosted.org/packages/source/j/jaraco.collections/jaraco.collections-%{version}.tar.gz -BuildArch: noarch - -Requires: python3-sphinx -Requires: python3-pytest -Requires: python3-pytest-checkdocs -Requires: python3-pytest-flake8 -Requires: python3-pytest-cov -Requires: python3-pytest-enabler -Requires: python3-pytest-black -Requires: python3-pytest-mypy +Name: python-jaraco-collections +Version: 5.0.0 +Release: 1 +Summary: Collection objects similar to those in stdlib by jaraco +License: MIT +URL: https://github.com/jaraco/jaraco.collections +Source0: https://files.pythonhosted.org/packages/source/j/jaraco.collections/jaraco.collections-%{version}.tar.gz +BuildArch: noarch + +Requires: python3-sphinx +Requires: python3-pytest +Requires: python3-pytest-checkdocs +Requires: python3-pytest-flake8 +Requires: python3-pytest-cov +Requires: python3-pytest-enabler +Requires: python3-pytest-black +Requires: python3-pytest-mypy %description A dictionary-like object that maps a range of values to a given value. %package -n python3-jaraco-collections -Summary: Collection objects similar to those in stdlib by jaraco -Provides: python-jaraco-collections = %{version}-%{release} +Summary: Collection objects similar to those in stdlib by jaraco +Provides: python-jaraco-collections = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip python3-wheel python3-hatch-vcs @@ -30,8 +30,8 @@ BuildRequires: python3-pip python3-wheel python3-hatch-vcs A dictionary-like object that maps a range of values to a given value. %package help -Summary: Development documents and examples for jaraco.collections -Provides: python3-jaraco-collections-doc +Summary: Development documents and examples for jaraco.collections +Provides: python3-jaraco-collections-doc %description help A dictionary-like object that maps a range of values to a given value. @@ -42,40 +42,22 @@ A dictionary-like object that maps a range of values to a given value. %pyproject_build %install -%pyproject_install jaraco.collections==%{version} +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi -if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi -pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst -fi -touch doclist.lst -if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst -fi -popd -mv %{buildroot}/filelist.lst . -mv %{buildroot}/doclist.lst . - -%files -n python3-jaraco-collections -f filelist.lst + +%files -n python3-jaraco-collections %{python3_sitelib}/* -%files help -f doclist.lst +%files help %{_docdir}/* %changelog +* Wed Feb 21 2024 jiangxinyu - 5.0.0-1 +- Update package to version 5.0.0 + * Tue Apr 25 2023 yaoxin - 4.1.0-2 - Modify the package compilation method and remove the adaptation to setup.py