1
0
Dirk Mueller 2022-10-10 07:44:47 +00:00 committed by Git OBS Bridge
parent 1bc3268aa4
commit d1bf063350

View File

@ -25,7 +25,11 @@ License: MIT
URL: https://pypi.python.org/pypi/termcolor URL: https://pypi.python.org/pypi/termcolor
Source: https://files.pythonhosted.org/packages/source/t/termcolor/termcolor-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/t/termcolor/termcolor-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@ -40,15 +44,15 @@ Available attributes: bold, dark, underline, blink, reverse, concealed.
%setup -q -n termcolor-%{version} %setup -q -n termcolor-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%license COPYING.txt %license COPYING.txt
%doc CHANGES.rst README.rst %doc CHANGES.md README.md
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog