diff --git a/PyYAML.spec b/PyYAML.spec index 135e39d..c63cd6e 100644 --- a/PyYAML.spec +++ b/PyYAML.spec @@ -1,11 +1,12 @@ Name: PyYAML Version: 4.2 Release: 0.1.b4%{?dist} +%global uversion %{version}b4 Summary: YAML parser and emitter for Python License: MIT URL: https://github.com/yaml/pyyaml -Source0: https://github.com/yaml/pyyaml/archive/%{name}-%{version}.tar.gz +Source0: https://github.com/yaml/pyyaml/archive/%{name}-%{uversion}.tar.gz BuildRequires: gcc BuildRequires: libyaml-devel @@ -64,7 +65,7 @@ Obsoletes: python3-PyYAML < 4.1-5 %prep -%setup -q -n %{name}-%{version} +%setup -q -n %{name}-%{uversion} chmod a-x examples/yaml-highlight/yaml_hl.py # remove pre-generated file