%global _empty_manifest_terminate_build 0 Name: python-parse-type Version: 0.6.2 Release: 1 Summary: Simplifies to build parse types based on the parse module. License: MIT URL: https://github.com/jenisys/parse_type Source0: https://files.pythonhosted.org/packages/47/32/416e1d54fae3150def1b2db06dca12c5c5be3d1f1ab75c93d5cb21b2b23c/parse_type-0.6.2.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling %description Simplifies to build parse types based on the parse module. %package -n python3-parse-type Summary: Simplifies to build parse types based on the parse module Provides: python-parse-type BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-hatchling %description -n python3-parse-type Simplifies to build parse types based on the parse module. %package help Summary: Development documents and examples for parse-type Provides: python3-parse-type-doc %description help Development documents and examples for parse-type. %prep %autosetup -n parse_type-%{version} %build %pyproject_build %install %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 %files -n python3-parse-type %doc README.rst %license LICENSE %{python3_sitelib}/parse_type %{python3_sitelib}/parse_type*.dist-info/ %files help %{_docdir}/* %changelog * Tue Nov 7 2023 Dongxing Wang - 0.6.2-1 - Init package.