Make repotag generation a one-liner

I decided it was clearer; it's still shorter than the Source0 line.
This commit is contained in:
Frank Dana (FeRD) 2018-09-14 22:29:59 +00:00
parent a3c9dbeaa6
commit c623449228

View File

@ -3,9 +3,8 @@ Version: 0.92.3
Release: 7%{?dist}
Summary: Vector-based drawing program using SVG
# Inkscape tags their releases with underscores
%global repotag %(echo %{name}_%{version} |
tr "." "_" | tr "[:lower:]" "[:upper:]")
# Inkscape tags their releases with underscores and in ALLCAPS
%global repotag %(echo %{name}_%{version} |tr "." "_" |tr "[:lower:]" "[:upper:]")
License: GPLv2+ and CC-BY
URL: https://inkscape.org/