Compare commits

..

No commits in common. "0a4180738c89854fe89c74d91d3408033e878c00" and "698a23ba5ce1a064e726a8d18716de7bcfb40af3" have entirely different histories.

3 changed files with 5 additions and 11 deletions

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-termcolor
Version: 2.3.0
Version: 1.1.0
Release: 1
Summary: ANSII Color formatting for output in terminal.
License: MIT
URL: http://pypi.python.org/pypi/termcolor
Source0: https://files.pythonhosted.org/packages/source/t/termcolor/termcolor-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
BuildArch: noarch
@ -17,8 +17,6 @@ Summary: ANSII Color formatting for output in terminal.
Provides: python-termcolor
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip python3-wheel
BuildRequires: python3-hatchling python3-hatch-vcs
%description -n python3-termcolor
ANSII Color formatting for output in terminal.
@ -29,13 +27,13 @@ Provides: python3-termcolor-doc
ANSII Color formatting for output in terminal.
%prep
%autosetup -n termcolor-%{version} -p1
%autosetup -n termcolor-1.1.0
%build
%pyproject_build
%py3_build
%install
%pyproject_install termcolor==%{version}
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -64,14 +62,10 @@ mv %{buildroot}/doclist.lst .
%files -n python3-termcolor -f filelist.lst
%dir %{python3_sitelib}/*
%{python3_sitelib}/termcolor/__pycache__/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Fri May 05 2023 yaoxin <yao_xin001@hoperun.com> - 2.3.0-1
- Update to 2.3.0
* Sat Oct 03 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated

BIN
termcolor-1.1.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.