From d39270652a7d9778d1c89bc23fbbdd17600c5f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondrej=20Mosn=C3=A1=C4=8Dek?= Date: Thu, 18 Dec 2025 08:58:54 +0100 Subject: [PATCH 1/2] Update to version 0.18.17 (fedora#2423406) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ondrej Mosnáček --- python-ruamel-yaml.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python-ruamel-yaml.spec b/python-ruamel-yaml.spec index 10cd123..f183a59 100644 --- a/python-ruamel-yaml.spec +++ b/python-ruamel-yaml.spec @@ -2,7 +2,7 @@ %bcond_with bootstrap Name: python-ruamel-yaml -Version: 0.18.16 +Version: 0.18.17 Release: %autorelease Summary: YAML 1.2 loader/dumper package for Python diff --git a/sources b/sources index b90ca66..8a3b9d4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ruamel.yaml-0.18.16.tar.xz) = 1d4c28c6769167d044cfc506035a0d7e13b533ecbfa2287b00035e9036c400c9cbd86fa96921a7e6a9c9b286f9bf4970637a09d4747c5bf7315b37db353720f6 +SHA512 (ruamel.yaml-0.18.17.tar.xz) = f39585da4463bb28957549b08debb2cb01ee15f926b20412b50e3dce24643a7de9790f7bd0aeb4191ade449738ff5642e1b1f71dbb199ad70c35c6392279c22c From cdec57db9dad4ca3f472574438de11a509cc2749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondrej=20Mosn=C3=A1=C4=8Dek?= Date: Mon, 5 Jan 2026 16:47:10 +0100 Subject: [PATCH 2/2] Update to version 0.19.1 (fedora#2426465) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ondrej Mosnáček --- python-ruamel-yaml.spec | 19 ++++++++++--------- sources | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/python-ruamel-yaml.spec b/python-ruamel-yaml.spec index f183a59..93c571e 100644 --- a/python-ruamel-yaml.spec +++ b/python-ruamel-yaml.spec @@ -2,7 +2,7 @@ %bcond_with bootstrap Name: python-ruamel-yaml -Version: 0.18.17 +Version: 0.19.1 Release: %autorelease Summary: YAML 1.2 loader/dumper package for Python @@ -28,20 +28,19 @@ BuildRequires: python3-pytest %py_provides python3-ruamel.yaml +%if !%{with bootstrap} +# ruamel.yaml.clibz is not available in Fedora (and probably never will +# be), so require the old clib backend +Requires: python3-ruamel-yaml+oldlibyaml = %{version}-%{release} +%endif + %description -n python3-ruamel-yaml %{_description} %prep %autosetup -n ruamel.yaml-%{version} -# Upstream upper-bounds the Python interpeter versions with which the C -# implementation (ruamel.yaml.clib dependency) may be used. Patch this out. -sed -r -i 's/( and python_version<"[^"]+")(.*ruamel\.yaml\.clib)/\2/' \ - __init__.py -%if %{with bootstrap} -sed -r -i 's/^([[:blank:]]*)(.*ruamel\.yaml\.clib)/\1# \2/' __init__.py -%endif %generate_buildrequires -%pyproject_buildrequires +%pyproject_buildrequires %{!?with_bootstrap:-x oldlibyaml} %build %pyproject_wheel @@ -63,5 +62,7 @@ k="${k-}${k+ and }not test_dump_cyaml_1_2" %files -n python3-ruamel-yaml -f %{pyproject_files} %doc README.md +%pyproject_extras_subpkg -n python3-ruamel-yaml oldlibyaml + %changelog %autochangelog diff --git a/sources b/sources index 8a3b9d4..f0e723c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ruamel.yaml-0.18.17.tar.xz) = f39585da4463bb28957549b08debb2cb01ee15f926b20412b50e3dce24643a7de9790f7bd0aeb4191ade449738ff5642e1b1f71dbb199ad70c35c6392279c22c +SHA512 (ruamel.yaml-0.19.1.tar.xz) = bf9eb8e40f506d6f3f34aee5f5ec74eb93bfda2b27022f6ad62dfac724b9e0847d61e3159d284bada7dec147992aaf509804f7139818de5bc85aa328bc32601f