%global _empty_manifest_terminate_build 0 Name: python-jaraco-functools Version: 3.5.2 Release: 3 Summary: Functools like those found in stdlib License: MIT URL: https://pypi.org/project/jaraco.functools/ Source0: https://files.pythonhosted.org/packages/b4/ea/9abca360081de9157668fcc52765989158aaf29b4826f26fcb17852d08e6/jaraco.functools-3.5.2.tar.gz Patch0: 0001-add-setup.py.patch BuildArch: noarch Requires: python3-more-itertools Requires: python3-sphinx Requires: python3-pytest Requires: python3-pytest-checkdocs Requires: python3-pytest-flake8 Requires: python3-pytest-black Requires: python3-pytest-cov Requires: python3-toml %description Functools like those found in stdlib %package -n python3-jaraco-functools Summary: Functools like those found in stdlib Provides: python-jaraco-functools = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm BuildRequires: python3-toml %description -n python3-jaraco-functools Functools like those found in stdlib %package help Summary: Development documents and examples for jaraco.functools Provides: python3-jaraco-functools-doc %description help Documentation for jaraco-functools %prep %autosetup -n jaraco.functools-%{version} -p1 %build %py3_build %install %py3_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-functools -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon Feb 27 2023 yaoxin - 3.5.2-3 - Fix installation conflicts between python3-jaraco-functools and python3-tempora * Fri Feb 24 2023 yaoxin - 3.5.2-2 - Fix installation conflicts between python3-jaraco-functools and python3-importlib-metadata * Thu Dec 01 2022 liqiuyu - 3.5.2-1 - Update package to version 3.5.2 * Sat Apr 02 2022 xigaoxinyan - 3.0.1-3 - Fix build error caused by py3.10+ wildcard * Thu Dec 24 2020 zhanghua - 3.0.1-2 - fix random build failed * Fri Nov 13 2020 Python_Bot - 3.0.1-1 - Package Spec generated