Fix name of the package with multibuild

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomli?expand=0&rev=5
This commit is contained in:
2021-10-14 15:04:48 +00:00
committed by Git OBS Bridge
parent 5f3c9f7775
commit 6883be908e

View File

@@ -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}