update version to 2.4.3

This commit is contained in:
Wangjunqi123 2023-03-07 09:09:20 +08:00
parent 4a9d769aa7
commit b32f33faca
3 changed files with 33 additions and 33 deletions

Binary file not shown.

BIN
cmd2-2.4.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,41 +1,36 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-cmd2 Name: python-cmd2
Version: 2.4.2 Version: 2.4.3
Release: 1 Release: 1
Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
License: MIT License: MIT
URL: https://github.com/python-cmd2/cmd2 URL: https://github.com/python-cmd2/cmd2
Source0: https://files.pythonhosted.org/packages/39/a0/830934f19f07e77c7d332fd5b41358611afc8d33d8cea78259b9a5d7f8ef/cmd2-2.4.2.tar.gz Source0: https://files.pythonhosted.org/packages/13/04/b85213575a7bf31cbf1d699cc7d5500d8ca8e52cbd1f3569a753a5376d5c/cmd2-2.4.3.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
quickly build feature-rich and user-friendly interactive command line applications in Python quickly build feature-rich and user-friendly interactive command line applications in Python
%package -n python3-cmd2 %package -n python3-cmd2
Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
Provides: python-cmd2 Provides: python-cmd2 = %{version}-%{release}
# Base build requires # Base build requires
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm BuildRequires: python3-setuptools_scm
BuildRequires: python3-pip BuildRequires: python3-pip
# General requires # General requires
Requires: python3-mypy Requires: python3-attrs
Requires: python3-flake8 Requires: python3-pyperclip
Requires: python3-pytest-cov Requires: python3-wcwidth
Requires: python3-pytest Requires: python3-importlib-metadata
Requires: python3-invoke Requires: python3-typing-extensions
Requires: python3-sphinx
Requires: python3-pytest-mock
Requires: python3-mypy
Requires: python3-wcwidth
Requires: python3-pyperclip
Requires: python3-attrs
%description -n python3-cmd2 %description -n python3-cmd2
quickly build feature-rich and user-friendly interactive command line applications in Python quickly build feature-rich and user-friendly interactive command line applications in Python
%package help %package help
Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python Summary: Development documents and examples for cmd2
Provides: python3-cmd2-doc Provides: python3-cmd2-doc
%description help %description help
quickly build feature-rich and user-friendly interactive command line applications in Python quickly build feature-rich and user-friendly interactive command line applications in Python
@ -47,28 +42,30 @@ quickly build feature-rich and user-friendly interactive command line applicatio
%install %install
%py3_install %py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi 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
fi fi
if [ -d usr/lib64 ]; then if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/bin ]; then if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/sbin ]; then if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
touch doclist.lst touch doclist.lst
if [ -d usr/share/man ]; then if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi fi
popd popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
@ -81,6 +78,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Tue Mar 07 2023 wangjunqi <wangjunqi@kylinos.cn> - 2.4.3-1
- Update package to version 2.4.3
* Wed Aug 10 2022 liqiuyu <liqiuyu@kylinos.cn> - 2.4.2-1 * Wed Aug 10 2022 liqiuyu <liqiuyu@kylinos.cn> - 2.4.2-1
- update to 2.4.2 - update to 2.4.2