## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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-rfc3987-syntax Version: 1.1.0 Release: %autorelease Summary: Helper functions to syntactically validate strings according to RFC 3987 License: MIT URL: https://github.com/willynilly/rfc3987-syntax Source: %{url}/archive/v%{version}/rfc3987-syntax-%{version}.tar.gz # Remove incorrect license data (trove classifier) # https://github.com/willynilly/rfc3987-syntax/pull/13 Patch: %{url}/pull/13.patch # Fix a typo in RFC3987_SYNTAX_TERMS # https://github.com/willynilly/rfc3987-syntax/pull/9 Patch: %{url}/pull/9.patch BuildSystem: pyproject BuildOption(generate_buildrequires): --extras testing BuildOption(install): --assert-license rfc3987_syntax BuildArch: noarch %global _description %{expand: Helper functions to parse and validate the syntax of terms defined in RFC 3987 — the IETF standard for Internationalized Resource Identifiers (IRIs). 🎯 Purpose: The goal of rfc3987-syntax is to provide a lightweight, permissively licensed Python module for validating that strings conform to the ABNF grammar defined in RFC 3987. These helpers are: ✅ Strictly aligned with the syntax rules of RFC 3987 ✅ Built using a permissive MIT license ✅ Designed for both open source and proprietary use ✅ Powered by Lark, a fast, EBNF-based parser 🧠 Note: This project focuses on syntax validation only. RFC 3987 specifies additional semantic rules (e.g., Unicode normalization, BiDi constraints, percent-encoding requirements) that must be enforced separately.} %description %{_description} %package -n python3-rfc3987-syntax Summary: %{summary} %description -n python3-rfc3987-syntax %{_description} %check -a %pytest --verbose %files -n python3-rfc3987-syntax -f %{pyproject_files} %doc CITATION.cff %doc README.md %changelog ## START: Generated by rpmautospec * Wed Jun 03 2026 Python Maint - 1.1.0-4 - Rebuilt for Python 3.15 * Fri May 15 2026 Benjamin A. Beasley - 1.1.0-3 - Use long pytest options * Fri May 15 2026 Benjamin A. Beasley - 1.1.0-2 - Use long pyproject options * Tue Mar 03 2026 Benjamin A. Beasley - 1.1.0-1 - Initial package (close RHBZ#2444060) ## END: Generated by rpmautospec