%global pypi_name omegaconf Name: python-%{pypi_name} Version: 2.3.0 Release: 1%{?dist} Summary: A flexible Python configuration system License: BSD-3-Clause URL: https://github.com/omry/%{pypi_name} Source0: %url/archive/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-setuptools BuildRequires: antlr4-runtime %global _description %{expand: A flexible Python configuration system. The last one you will ever need. } %description %_description %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %_description %prep %autosetup -p1 -n %{pypi_name}-%{version} rm -rf build_helpers/bin/ sed -i 's/antlr4-python3-runtime==4.9.*/antlr4-python3-runtime>=4.9/' requirements/base.txt %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pypi_name} %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.md %changelog * Wed Oct 29 2025 Peter Robinson - 2.3.0-1 - Initial package