diff --git a/.gitignore b/.gitignore index e3fb872..e28cffa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -/*.tar.gz +/*.tar.xz /*.zip diff --git a/python-ruamel-yaml.spec b/python-ruamel-yaml.spec index 9b8de79..6394ac8 100644 --- a/python-ruamel-yaml.spec +++ b/python-ruamel-yaml.spec @@ -1,10 +1,8 @@ # Breaks the circular dependency with ruamel.yaml.clib. %bcond_with bootstrap -%global commit 04ba5ead9be050430fac2ca1d4e88b8e91f7be02 - Name: python-ruamel-yaml -Version: 0.18.10 +Version: 0.18.14 Release: %autorelease Summary: YAML 1.2 loader/dumper package for Python @@ -12,7 +10,7 @@ Summary: YAML 1.2 loader/dumper package for Python License: MIT URL: https://sourceforge.net/projects/ruamel-yaml # The PyPI sdist does not contain tests, so we use a snapshot from SourceForge -Source: https://sourceforge.net/code-snapshots/hg/r/ru/ruamel-yaml/code/ruamel-yaml-code-%{commit}.zip +Source: https://yaml.dev/ruamel-dl-tagged-releases/ruamel.yaml-%{version}.tar.xz BuildArch: noarch @@ -33,7 +31,7 @@ BuildRequires: python3-pytest %description -n python3-ruamel-yaml %{_description} %prep -%autosetup -n ruamel-yaml-code-%{commit} +%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/' \ diff --git a/sources b/sources index 898c9bb..343d4ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ruamel-yaml-code-04ba5ead9be050430fac2ca1d4e88b8e91f7be02.zip) = 2e94f334d5750df28922c2efc58527fca696d6b41be91e70d2897647ac93e946d34bc7c2cce3185c7117b7444552feb19f6b952ba5ca598663549f3048486a80 +SHA512 (ruamel.yaml-0.18.14.tar.xz) = 1245dbaf184cf98257df5d78c32f3775acf4873cb0696b852cf145cdcb7bd0c24c3c4bac5470f18341537a04fa56df4629b554d742341de3774cc78cdd0d1f8a