diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/.gitignore b/.gitignore index 1966257..452b805 100644 --- a/.gitignore +++ b/.gitignore @@ -1,26 +1 @@ -PyYAML-3.09.tar.gz -/PyYAML-3.10.tar.gz -/PyYAML-3.11.tar.gz -/PyYAML-3.12.tar.gz -/PyYAML-4.1.tar.gz -/pyyaml-4.1.tar.gz -/PyYAML-4.2b4.tar.gz -/PyYAML-5.1b1.tar.gz -/PyYAML-5.1b3.tar.gz -/PyYAML-5.1b6.tar.gz -/PyYAML-5.1.tar.gz -/PyYAML-5.1.1.tar.gz -/PyYAML-5.1.2.tar.gz -/5.1.2.tar.gz -/5.2.tar.gz -/5.3.tar.gz -/5.3.1.tar.gz -/5.4b1.tar.gz -/5.4b2.tar.gz -/5.4.tar.gz -/5.4.1.tar.gz -/6.0b1.tar.gz -/6.0.tar.gz -/6.0.1.tar.gz -/6.0.2.tar.gz -/6.0.3.tar.gz +SOURCES/6.0.3.tar.gz diff --git a/.python3.14-pyyaml.metadata b/.python3.14-pyyaml.metadata new file mode 100644 index 0000000..b242a46 --- /dev/null +++ b/.python3.14-pyyaml.metadata @@ -0,0 +1 @@ +122becdd41b66799d5ea790827bf178f3ba94470 SOURCES/6.0.3.tar.gz diff --git a/python3.14-pyyaml.spec b/SPECS/python3.14-pyyaml.spec similarity index 68% rename from python3.14-pyyaml.spec rename to SPECS/python3.14-pyyaml.spec index 265ae26..2a4b515 100644 --- a/python3.14-pyyaml.spec +++ b/SPECS/python3.14-pyyaml.spec @@ -1,3 +1,13 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## 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 @@ -64,4 +74,13 @@ rm -rf ext/_yaml.c %changelog -%autochangelog +## 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 diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index 2c7ed80..0000000 --- a/gating.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- !Policy -product_versions: - - rhel-* -decision_context: osci_compose_gate -rules: - - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plan.fmf b/plan.fmf deleted file mode 100644 index e6427de..0000000 --- a/plan.fmf +++ /dev/null @@ -1,4 +0,0 @@ -discover: - how: fmf -execute: - how: tmt diff --git a/sources b/sources deleted file mode 100644 index b7b81fd..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (6.0.3.tar.gz) = a0da43e32d127409ad61b11dc1d733b2e9c743977b3d72c05c81fc2ab183b40bc284452b0874dbeae1a736e1cd4a34f0df641ceefd5e9df38b3e53155fc5f633 diff --git a/tests/smoke/main.fmf b/tests/smoke/main.fmf deleted file mode 100644 index dd643ec..0000000 --- a/tests/smoke/main.fmf +++ /dev/null @@ -1,5 +0,0 @@ -test: ./runtest.sh -framework: beakerlib -require: - - python3.14-pyyaml -duration: 5m diff --git a/tests/smoke/pyyaml_dump.py b/tests/smoke/pyyaml_dump.py deleted file mode 100644 index a6f4a6d..0000000 --- a/tests/smoke/pyyaml_dump.py +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env python -import yaml -print(yaml.dump({'name': 'Silenthand Olleander', 'race': 'Human', 'traits': ['ONE_HAND', 'ONE_EYE']})) diff --git a/tests/smoke/pyyaml_load.py b/tests/smoke/pyyaml_load.py deleted file mode 100644 index 6bf48f2..0000000 --- a/tests/smoke/pyyaml_load.py +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env python -import yaml -documents = """ ---- -name: foo ---- -name: bar ---- -name: foobar -""" - -for data in yaml.load_all(documents, Loader=yaml.SafeLoader): - print(data) diff --git a/tests/smoke/pyyaml_object.py b/tests/smoke/pyyaml_object.py deleted file mode 100644 index b689c05..0000000 --- a/tests/smoke/pyyaml_object.py +++ /dev/null @@ -1,24 +0,0 @@ -import yaml -class Hero: - def __init__(self, name, hp, sp): - self.name = name - self.hp = hp - self.sp = sp - def __repr__(self): - return "%s(name=%r, hp=%r, sp=%r)" % ( - self.__class__.__name__, self.name, self.hp, self.sp) - -STRING = """ -!!python/object:__main__.Hero -name: Welthyr Syxgon -hp: 1200 -sp: 0 -""" - -try: - yaml.load(STRING, Loader=yaml.SafeLoader) - raise RuntimeError("Didn't raise exception") -except yaml.constructor.ConstructorError: - pass - -print(yaml.unsafe_load(STRING)) diff --git a/tests/smoke/pyyaml_parse.py b/tests/smoke/pyyaml_parse.py deleted file mode 100644 index 3850b78..0000000 --- a/tests/smoke/pyyaml_parse.py +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env python -import yaml -document = """ - a: 1 - b: - c: 3 - d: 4 -""" -print(yaml.dump(yaml.load(document, Loader=yaml.SafeLoader))) diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh deleted file mode 100755 index 1c4f6b9..0000000 --- a/tests/smoke/runtest.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /CoreOS/PyYAML/Sanity/Smoke -# Description: Smoke test for this component -# Author: Stepan Sigut -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2016 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PYTHON=${PYTHON:-"python3.14"} - -PATTERN1="{'name': 'foo'} -{'name': 'bar'} -{'name': 'foobar'}" -PATTERN3="name: Silenthand Olleander -race: Human -traits: [ONE_HAND, ONE_EYE]" -PATTERN4="a: 1 -b: {c: 3, d: 4}" -PATTERN5="Hero(name='Welthyr Syxgon', hp=1200, sp=0)" - -set -o pipefail - -rlJournalStart - rlPhaseStartSetup - # export python's MAJOR and MINOR version - rlRun "export $($PYTHON -c \ - 'import sys; print("MAJOR={0} MINOR={1}".format(\ - sys.version_info[0],sys.version_info[1]))')" - rlPhaseEnd - - rlPhaseStartTest "Running pyyaml_load.py" - rlRun -s "$PYTHON pyyaml_load.py" - rlAssertGrep "$PATTERN1" "$rlRun_LOG" - rlPhaseEnd - - rlPhaseStartTest "Running pyyaml_dump.py" - rlRun -s "$PYTHON pyyaml_dump.py" - rlAssertGrep "$PATTERN3" "$rlRun_LOG" - rlPhaseEnd - - rlPhaseStartTest "Running pyyaml_parse.py" - rlRun -s "$PYTHON pyyaml_parse.py" - rlAssertGrep "$PATTERN4" "$rlRun_LOG" - rlPhaseEnd - - rlPhaseStartTest "Running pyyaml_object.py" - rlRun -s "$PYTHON pyyaml_object.py" - rlAssertGrep "$PATTERN5" "$rlRun_LOG" - rlPhaseEnd - -rlJournalPrintText -rlJournalEnd