%global pname jsonxs Name: python-%{pname} Version: 0.6 Release: 1%{?dist} Summary: get and set values in json License: MIT URL: https://github.com/fboender/jsonxs Source0: %{url}/releases/download/v%{version}/%{pname}-%{version}.tar.gz Source1: pyproject.toml BuildArch: noarch BuildRequires: pyproject-rpm-macros BuildRequires: python3-devel %description JSONxs is a Python library that uses a path expression string to get and set values in JSON and Python datastructures. It's slightly similar to JSONPath, but supports only simpler expressions and allows modifications. JSONxs is safe to use with untrusted input. %prep %autosetup -n %{pname}-%{version} cp %{SOURCE1} . %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install [ '%{buildroot}' != '/' ] && rm -rf %{buildroot} %pyproject_install %pyproject_save_files %{pname} %files -f %{pyproject_files} %doc README.rst %changelog * Thu Oct 9 2025 Philippe Kueck - 0.6-1 - initial packaging