diff --git a/0000-fix-big-endian-issues.patch b/0000-fix-big-endian-issues.patch index 0d352f7..5b06598 100644 --- a/0000-fix-big-endian-issues.patch +++ b/0000-fix-big-endian-issues.patch @@ -5,21 +5,24 @@ Forwarded: not-needed As the cpython code has an endianness bug https://sourceforge.net/p/ruamel-yaml/tickets/360/ Thanks to Rebecca N. Palmer for the tip about sys.byteorder! +--- + main.py | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) -Index: ruamel.yaml/main.py -=================================================================== ---- ruamel.yaml.orig/main.py 2021-10-14 00:10:27.265523204 +0200 -+++ ruamel.yaml/main.py 2021-10-14 00:11:02.469504291 +0200 -@@ -51,7 +51,7 @@ - - - class YAML: -- def __init__(self, *, typ=None, pure=False, output=None, plug_ins=None): # input=None, -+ def __init__(self, *, typ=None, pure=None, output=None, plug_ins=None): # input=None, - # type: (Any, Optional[Text], Any, Any, Any) -> None - """ - typ: 'rt'/None -> RoundTripLoader/RoundTripDumper, (default) -@@ -64,6 +64,11 @@ +diff --git a/main.py b/main.py +index 9068282..49e70a4 100644 +--- a/main.py ++++ b/main.py +@@ -55,7 +55,7 @@ class YAML: + self: Any, + *, + typ: Optional[Union[List[Text], Text]] = None, +- pure: Any = False, ++ pure: Any = None, + output: Any = None, + plug_ins: Any = None, + ) -> None: # input=None, +@@ -70,6 +70,11 @@ class YAML: """ self.typ = ['rt'] if typ is None else (typ if isinstance(typ, list) else [typ]) @@ -31,3 +34,6 @@ Index: ruamel.yaml/main.py self.pure = pure # self._input = input +-- +2.39.1 + diff --git a/python-ruamel-yaml.spec b/python-ruamel-yaml.spec index 033a261..5e32514 100644 --- a/python-ruamel-yaml.spec +++ b/python-ruamel-yaml.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-ruamel-yaml -Version: 0.17.21 +Version: 0.17.32 Release: 1 Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order License: MIT URL: https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree -Source0: https://files.pythonhosted.org/packages/46/a9/6ed24832095b692a8cecc323230ce2ec3480015fbfa4b79941bd41b23a3c/ruamel.yaml-0.17.21.tar.gz +Source0: https://files.pythonhosted.org/packages/63/dd/b4719a290e49015536bd0ab06ab13e3b468d8697bec6c2f668ac48b05661/ruamel.yaml-0.17.32.tar.gz BuildArch: noarch Patch0001: 0000-fix-big-endian-issues.patch %description @@ -80,6 +80,9 @@ mv %{buildroot}/doclist.lst . %doc README.rst CHANGES %changelog +* Fri Jul 14 2023 chenzixuan - 0.17.32-1 +- Upgrade python3-ruamel-yaml to version 0.17.32 + * Sat Jun 04 2022 OpenStack_SIG - 0.17.21-1 - Upgrade python3-ruamel-yaml to version 0.17.21 diff --git a/ruamel.yaml-0.17.21.tar.gz b/ruamel.yaml-0.17.21.tar.gz deleted file mode 100644 index f8265b3..0000000 Binary files a/ruamel.yaml-0.17.21.tar.gz and /dev/null differ diff --git a/ruamel.yaml-0.17.32.tar.gz b/ruamel.yaml-0.17.32.tar.gz new file mode 100644 index 0000000..dcc23d4 Binary files /dev/null and b/ruamel.yaml-0.17.32.tar.gz differ