diff --git a/PyYAML.spec b/PyYAML.spec index 850352d..f78c821 100644 --- a/PyYAML.spec +++ b/PyYAML.spec @@ -9,7 +9,7 @@ Summary: YAML parser and emitter for Python License: MIT URL: https://github.com/yaml/pyyaml -Source0: https://github.com/yaml/pyyaml/archive/%{name}-%{uversion}.tar.gz +Source0: https://github.com/yaml/pyyaml/archive/%{uversion}.tar.gz BuildRequires: gcc BuildRequires: libyaml-devel @@ -66,7 +66,7 @@ Obsoletes: python3-PyYAML < 4.1-5 %prep -%setup -q +%setup -q -n pyyaml-%{version} chmod a-x examples/yaml-highlight/yaml_hl.py # remove pre-generated file