## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Summary: Python function for condensing JSON using replacement strings Name: python-condense-json Version: 0.1.3 Release: %autorelease License: Apache-2.0 URL: https://pypi.python.org/project/condense-json/ Source: %{pypi_source condense_json} Patch: python-condense-json-0.1.3-toml.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest %global _description \ Python function for condensing JSON using replacement strings %description %{_description} %package -n python3-condense-json Summary: %{summary} %description -n python3-condense-json %{_description} %prep %autosetup -p1 -n condense_json-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l condense_json %check %pytest %files -n python3-condense-json -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Wed Oct 01 2025 Terje Røsten - 0.1.3-1 - Initial package ## END: Generated by rpmautospec