Remove redundant %uversion macro from the specfile

This commit is contained in:
Miro Hrončok 2023-07-28 13:48:50 +02:00
parent b6924f67a2
commit 8e45866841

View File

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