%global prjname box Name: python-%{prjname} Version: 7.4.1 Release: 1%{?dist} Summary: Python dictionaries with advanced dot notation access License: MIT URL: https://github.com/cdgriffith/Box Source0: https://github.com/cdgriffith/Box/archive/refs/tags/%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # Test dependencies: BuildRequires: python3dist(pytest) BuildRequires: python3dist(ruamel-yaml) BuildRequires: python3dist(msgpack) BuildRequires: python3dist(tomli-w) %global _description %{expand: Box will automatically make otherwise inaccessible keys safe to access as an attribute. You can always pass conversion_box=False to Box to disable that behavior. Also, all new dict and lists added to a Box or BoxList object are converted automatically.} %description %_description %package -n python3-%{prjname} Summary: %{summary} Requires: python3dist(ruamel-yaml) Requires: python3dist(msgpack) Requires: python3dist(tomli-w) %description -n python3-%{prjname} %_description %prep %autosetup -n Box-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l box %check %pytest test -k "not toon and not test_to_yaml_ruamel" %files -n python3-%{prjname} -f %{pyproject_files} %doc README.rst %changelog * Wed Mar 11 2026 Andrey Brusnik - 7.4.1-1 - feat: Add python-box package