diff --git a/python-termcolor.spec b/python-termcolor.spec index 1f2854c..580dc58 100644 --- a/python-termcolor.spec +++ b/python-termcolor.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-termcolor -Version: 1.1.0 +Version: 2.3.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/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/t/termcolor/termcolor-%{version}.tar.gz BuildArch: noarch @@ -17,6 +17,8 @@ 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. @@ -27,13 +29,13 @@ Provides: python3-termcolor-doc ANSII Color formatting for output in terminal. %prep -%autosetup -n termcolor-1.1.0 +%autosetup -n termcolor-%{version} -p1 %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install termcolor==%{version} 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 @@ -62,10 +64,14 @@ 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 - 2.3.0-1 +- Update to 2.3.0 + * Sat Oct 03 2020 Python_Bot - Package Spec generated diff --git a/termcolor-1.1.0.tar.gz b/termcolor-1.1.0.tar.gz deleted file mode 100644 index 47f3cd0..0000000 Binary files a/termcolor-1.1.0.tar.gz and /dev/null differ diff --git a/termcolor-2.3.0.tar.gz b/termcolor-2.3.0.tar.gz new file mode 100644 index 0000000..56cbdba Binary files /dev/null and b/termcolor-2.3.0.tar.gz differ