%global _empty_manifest_terminate_build 0 %global pypi_name hydra %global source_name hydra Name: python-%{pypi_name} Version: 1.3.2 Release: 1 Summary: hydra package for python3 License: Apache-2.0 URL: https://pydantic.dev/ Source0: https://github.com/facebookresearch/hydra/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Requires: python3 Requires: python3-packaging Requires: python3-omegaconf >= 2.2 Requires: python3-importlib-resources %description hydra package for python3 %package -n python3-%{pypi_name} Summary: Data validation library for Python Provides: python-%{pypi_name} BuildRequires: python3-antlr4-runtime == 4.9.3 BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: java-11-openjdk %description -n python3-%{pypi_name} %package help Summary: Development documents and examples for hydra Provides: python3-%{pypi_name}-doc %description help python3 hydra %prep %autosetup -p1 -n %{source_name}-%{version} %build %pyproject_build %install %pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} %files -n python3-%{pypi_name} %doc *.md %license LICENSE %{python3_sitelib}/%{source_name}/* %{python3_sitelib}/%{source_name}_core-%{version}.dist-info/* #%files help -f doclist.lst #%{_docdir}/* %changelog * Mon Jan 22 2024 menma <1316818279@qq.com> - 0.13.0-1 - Package init