Fix Source0 URL

This commit is contained in:
Lumir Balhar 2019-11-20 12:31:40 +01:00
parent 8b822c0328
commit 6cf2444e1f

View File

@ -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