%global _empty_manifest_terminate_build 0 Name: omegaconf Version: 2.3.0 Release: 1 Summary: omegaconf package for python3 License: BSD 3-Clause URL: https://github.com/omry/omegaconf Source0: https://github.com/omry/omegaconf/archive/refs/tags/v2.3.0.tar.gz#/%{name}-%{version}.tar.gz Requires: python3-pyaml >= 5.1.0 Requires: python3-antlr4-runtime == 4.9 %description OmegaConf is a hierarchical configuration system, with support for merging configurations from multiple sources (YAML config files, dataclasses/objects and CLI arguments) providing a consistent API regardless of how the configuration was created. %package -n python3-%{name} Summary: omegaconf package for python3 Provides: python-%{name} BuildRequires: python3-setuptools BuildRequires: java-11-openjdk %description -n python3-%{name} description for python3-omegaconf %package help Summary: Development documents and examples for python-omegaconf Provides: python3-%{name}-doc %description help omegaconf help description %prep %autosetup -p1 -n %{name}-%{version} %build %pyproject_build %install %pyproject_install %files -n python3-%{name} %{python3_sitelib}/%{name}/* %{python3_sitelib}/pydevd_plugins/* %{python3_sitelib}/%{name}-%{version}.dist-info/* %changelog * Fri Jan 26 2024 menma <1316818279@qq.com> - 2.3.0-1 - Init package