diff --git a/PyYAML.spec b/PyYAML.spec index ca695c7..52ad890 100644 --- a/PyYAML.spec +++ b/PyYAML.spec @@ -1,12 +1,11 @@ Name: PyYAML Version: 6.0.1 Release: 4%{?dist} -%global uversion %{version} Summary: YAML parser and emitter for Python License: MIT URL: https://github.com/yaml/pyyaml -Source0: https://github.com/yaml/pyyaml/archive/%{uversion}.tar.gz +Source0: https://github.com/yaml/pyyaml/archive/%{version}.tar.gz # Fix build with Cython 3 # Proposed upstream but refused (upstream does not want Cython 3) @@ -45,7 +44,7 @@ Summary: %summary %prep -%autosetup -p1 -n pyyaml-%{uversion} +%autosetup -p1 -n pyyaml-%{version} chmod a-x examples/yaml-highlight/yaml_hl.py # remove pre-generated file