## 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 Name: python-rignore Version: 0.7.1 Release: %autorelease Summary: Python bindings for the ignore crate License: MIT URL: https://github.com/patrick91/rignore Source: %{url}/archive/v%{version}/rignore-%{version}.tar.gz # Make snapshot tests order-insensitive # https://github.com/patrick91/rignore/pull/20 Patch: %{url}/pull/20.patch # Downstream-only: Allow a slightly older maturin for now Patch: 0001-Downstream-only-Allow-a-slightly-older-maturin-for-n.patch BuildSystem: pyproject BuildOption(install): -l rignore BuildOption(generate_buildrequires): -g dev BuildRequires: tomcli BuildRequires: cargo-rpm-macros >= 24 %global common_description %{expand: rignore is a Python module that provides a high-performance, Rust-powered file system traversal functionality. It wraps the Rust ignore crate using PyO3, offering an efficient way to walk through directories while respecting various ignore rules.} %description %{common_description} %package -n python3-rignore Summary: %{summary} # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: %{shrink: MIT AND Unicode-DFS-2016 AND (MIT OR Apache-2.0) AND (Unlicense OR MIT) } %description -n python3-rignore %{common_description} %prep -a %cargo_prep %generate_buildrequires -a %cargo_generate_buildrequires %build -p %cargo_license_summary %{cargo_license} > LICENSE.dependencies %check -a %pytest %files -n python3-rignore -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Wed Oct 15 2025 Benjamin A. Beasley - 0.7.1-1 - Update to 0.7.1 (close RHBZ#2404311) * Thu Oct 02 2025 Benjamin A. Beasley - 0.7.0-1 - Update to 0.7.0 (close RHBZ#2401013) * Fri Sep 26 2025 Benjamin A. Beasley - 0.6.4-3 - Update PyO3 dependency to 0.26 * Fri Sep 19 2025 Python Maint - 0.6.4-2 - Rebuilt for Python 3.14.0rc3 bytecode * Tue Sep 02 2025 Benjamin A. Beasley - 0.6.4-1 - Initial package (close RHBZ#2379740) ## END: Generated by rpmautospec