diff --git a/python-tomli.spec b/python-tomli.spec index ce6104c..24ea2b1 100644 --- a/python-tomli.spec +++ b/python-tomli.spec @@ -1,5 +1,5 @@ # -# spec file for package python-tomli +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -26,7 +26,7 @@ %endif %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -Name: python-tomli +Name: python-tomli%{psuffix} Version: 1.2.1 Release: 0 Summary: A lil' TOML parser @@ -53,11 +53,11 @@ Tomli is a Python library for parsing TOML %prep %setup -q -n tomli-%{version} -%if ! %{with test} %build %pyproject_wheel %install +%if ! %{with test} %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib}