From 8e45866841489cf25857c6269954a54878ac7b53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 28 Jul 2023 13:48:50 +0200 Subject: [PATCH] Remove redundant %uversion macro from the specfile --- PyYAML.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/PyYAML.spec b/PyYAML.spec index ca695c7..52ad890 100644 --- a/PyYAML.spec +++ b/PyYAML.spec @@ -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