Don't overuse macros, it makes the spec file harder to read
This commit is contained in:
parent
2a58d554d3
commit
6288a46794
@ -6,8 +6,6 @@
|
||||
%bcond_without check
|
||||
%endif
|
||||
|
||||
%global modname tomli_w
|
||||
|
||||
Name: python-tomli-w
|
||||
Version: 0.4.0
|
||||
Release: 3%{?dist}
|
||||
@ -51,7 +49,7 @@ Summary: %{summary}
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files %{modname}
|
||||
%pyproject_save_files tomli_w
|
||||
|
||||
|
||||
%check
|
||||
@ -59,7 +57,7 @@ Summary: %{summary}
|
||||
%tox
|
||||
%else
|
||||
# no %%pyproject_check_import on EL9
|
||||
%py3_check_import %{modname}
|
||||
%py3_check_import tomli_w
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user