Remove redundant %uversion macro from the specfile
This commit is contained in:
parent
b6924f67a2
commit
8e45866841
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user