## 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 %global python3_pkgversion 3.14 Name: python%{python3_pkgversion}-pyyaml Version: 6.0.3 Release: %autorelease Summary: YAML parser and emitter for Python # SPDX License: MIT URL: https://github.com/yaml/pyyaml Source: https://github.com/yaml/pyyaml/archive/%{version}.tar.gz BuildRequires: gcc BuildRequires: libyaml-devel BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pytest %py_provides python%{python3_pkgversion}-yaml %py_provides python%{python3_pkgversion}-PyYAML %global _description\ YAML is a data serialization format designed for human readability and\ interaction with scripting languages. PyYAML is a YAML parser and\ emitter for Python.\ \ PyYAML features a complete YAML 1.1 parser, Unicode support, pickle\ support, capable extension API, and sensible error messages. PyYAML\ supports standard YAML tags and provides Python-specific tags that\ allow to represent an arbitrary Python object.\ \ PyYAML is applicable for a broad range of tasks from complex\ configuration files to object serialization and persistence. %description %_description %prep %autosetup -p1 -n pyyaml-%{version} chmod a-x examples/yaml-highlight/yaml_hl.py # remove pre-generated file rm -rf ext/_yaml.c %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files yaml _yaml %check %pytest %files -n python%{python3_pkgversion}-pyyaml -f %{pyproject_files} %doc CHANGES README.md examples %changelog ## START: Generated by rpmautospec * Fri Nov 28 2025 Tomáš Hrnčiar - 6.0.3-1 - New upstream release 6.0.3 * Fri Nov 28 2025 Lukáš Zachar - 6.0.2-2 - Add gating.yaml * Fri Nov 28 2025 Tomáš Hrnčiar - 6.0.2-1 - Convert from Fedora for the Python 3.14 stack in RHEL ## END: Generated by rpmautospec