update version to 3.0.37

This commit is contained in:
Wangjunqi123 2023-02-28 15:39:26 +08:00
parent 22f371d62e
commit 48346502e9
3 changed files with 9 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +1,13 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-prompt-toolkit Name: python-prompt-toolkit
Version: 3.0.36 Version: 3.0.37
Release: 1 Release: 1
Summary: Library for building powerful interactive command lines in Python Summary: Library for building powerful interactive command lines in Python
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/prompt-toolkit/python-prompt-toolkit URL: https://github.com/prompt-toolkit/python-prompt-toolkit
Source0: https://files.pythonhosted.org/packages/fb/93/180be2342f89f16543ec4eb3f25083b5b84eba5378f68efff05409fb39a9/prompt_toolkit-3.0.36.tar.gz Source0: https://files.pythonhosted.org/packages/20/58/bbc8510ed1774ea2879b9996d2783d461c3c612904e230ff6954ce23c694/prompt_toolkit-3.0.37.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: python3-wcwidth
%description %description
prompt_toolkit is a library for building powerful interactive command lines and prompt_toolkit is a library for building powerful interactive command lines and
terminal applications in Python. terminal applications in Python.
@ -19,7 +17,7 @@ Summary: Library for building powerful interactive command lines in Python
Provides: python-prompt-toolkit = %{version}-%{release} Provides: python-prompt-toolkit = %{version}-%{release}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
Requires: python3-wcwidth
%description -n python3-prompt-toolkit %description -n python3-prompt-toolkit
prompt_toolkit is a library for building powerful interactive command lines and prompt_toolkit is a library for building powerful interactive command lines and
terminal applications in Python. terminal applications in Python.
@ -27,7 +25,6 @@ terminal applications in Python.
%package help %package help
Summary: Development documents and examples for prompt-toolkit Summary: Development documents and examples for prompt-toolkit
Provides: python3-prompt-toolkit-doc Provides: python3-prompt-toolkit-doc
%description help %description help
prompt_toolkit is a library for building powerful interactive command lines and prompt_toolkit is a library for building powerful interactive command lines and
terminal applications in Python. terminal applications in Python.
@ -45,6 +42,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot} pushd %{buildroot}
if [ -d usr/lib ]; then if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
@ -73,6 +73,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Tue Feb 28 2023 wangjunqi <wangjunqi@kylinos.cn> - 3.0.37-1
- Update package to version 3.0.37
* Fri Dec 16 2022 wenzhiwei <wenzhiwei@kylinos.cn> - 3.0.36-1 * Fri Dec 16 2022 wenzhiwei <wenzhiwei@kylinos.cn> - 3.0.36-1
- Update package to version 3.0.36 - Update package to version 3.0.36