Cope with undefined %py_dist_name

Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
Nils Philippsen 2024-02-12 13:09:06 +01:00
parent e9c2387327
commit 2f230174a4

View File

@ -12,7 +12,7 @@
%endif %endif
%global srcname rpmautospec_core %global srcname rpmautospec_core
%global canonicalname %{py_dist_name %{srcname}} %global canonicalname rpmautospec-core
Name: python-%{canonicalname} Name: python-%{canonicalname}
Version: 0.1.4 Version: 0.1.4