Don't overuse macros, it makes the spec file harder to read

epel9^2
Miro Hrončok 3 years ago
parent 2a58d554d3
commit 6288a46794

@ -6,8 +6,6 @@
%bcond_without check %bcond_without check
%endif %endif
%global modname tomli_w
Name: python-tomli-w Name: python-tomli-w
Version: 0.4.0 Version: 0.4.0
Release: 3%{?dist} Release: 3%{?dist}
@ -51,7 +49,7 @@ Summary: %{summary}
%install %install
%pyproject_install %pyproject_install
%pyproject_save_files %{modname} %pyproject_save_files tomli_w
%check %check
@ -59,7 +57,7 @@ Summary: %{summary}
%tox %tox
%else %else
# no %%pyproject_check_import on EL9 # no %%pyproject_check_import on EL9
%py3_check_import %{modname} %py3_check_import tomli_w
%endif %endif

Loading…
Cancel
Save