%global _empty_manifest_terminate_build 0 %global pypi_name hjson Name: python-%{pypi_name} Version: 3.1.0 Release: 1 Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration License: MIT URL: https://www.json.org/json-en.html Source0: https://github.com/hjson/hjson-py/releases/tag/v%{version}#/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective. %package -n python3-hjson Summary: hjson for python3 Provides: python3.11dist(hjson) = %{version} %description -n python3-hjson python3-%{pypi_name} description %package help Summary: Development documents and examples for %{name} Provides: python3-%{pypi_name}-doc %description help hjson for python3 help doc %prep %autosetup -p1 -n %{pypi_name}-%{version} %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %doc *.md %doc README.rst %license LICENSE.txt %{_bindir}/%{pypi_name}* %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/* %{python3_sitelib}/%{pypi_name}/* #%files help -f doclist.lst #%{_docdir}/* %changelog * Mon Jan 22 2024 menma <1316818279@qq.com> - 0.13.0-1 - Package init