## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 %global forgeurl https://github.com/mrijken/toml-cli Version: 0.8.2 %forgemeta Name: python-toml-cli Release: %autorelease Summary: Read and write keys/values to/from toml files License: Apache-2.0 URL: %{forgeurl} Source: %{forgesource} # Lower tomlkit dependency to match Fedora Rawhide (0.13.2) Patch0: 0002-lower-tomlkit-dependency.patch # Skip test_set_in_out_of_order_table on tomlkit < 0.13.3 due to lack of upstream fix Patch1: 0003-skip-out-of-order-table-test-on-older-tomlkit.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest %global _description %{expand: Command line interface for toml files.} %description %_description %package -n python3-toml-cli Summary: %{summary} %description -n python3-toml-cli %_description %package -n toml-cli Summary: %{summary} Requires: python3-toml-cli # Provides a binary at the same path Conflicts: libtoml %description -n toml-cli %_description %prep %autosetup -p1 -n toml-cli-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -L toml_cli %check %pytest -v %files -n python3-toml-cli -f %{pyproject_files} %license LICENSE %doc README.md CHANGELOG.md %files -n toml-cli %{_bindir}/toml %changelog ## START: Generated by rpmautospec * Thu Aug 06 2026 Filipe Rosset - 0.8.2-3 - drop unused patches * Thu Aug 06 2026 Filipe Rosset - 0.8.2-2 - Fix F45FTBFS with 0.8.2 * Thu Aug 06 2026 Michel Lind - 0.8.2-1 - Update to 0.8.2 upstream release - Resolves: rhbz#2382080 * Tue Jul 28 2026 Filipe Rosset - 0.7.0-10 - Fix test compatibility with Click 8.2+ / Typer 0.16.0+ where CliRunner separates stdout/stderr and no-args-is-help returns exit code 2 * Thu Jul 16 2026 Fedora Release Engineering - 0.7.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Thu Jun 04 2026 Python Maint - 0.7.0-8 - Rebuilt for Python 3.15 * Sat Jan 17 2026 Fedora Release Engineering - 0.7.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Sep 19 2025 Python Maint - 0.7.0-5 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 0.7.0-4 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 0.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Jun 05 2025 Python Maint - 0.7.0-2 - Rebuilt for Python 3.14 * Wed Mar 05 2025 Davide Cavalca - 0.7.0-1 - Initial import; Fixes: RHBZ#2333266 ## END: Generated by rpmautospec