update version to 2.1.1

This commit is contained in:
wubijie 2023-05-08 11:33:48 +08:00
parent 17830955a5
commit 08ed2448a8
3 changed files with 8 additions and 4 deletions

Binary file not shown.

BIN
invoke-2.1.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,14 +1,13 @@
%global _empty_manifest_terminate_build 0
Name: python-invoke
Version: 2.1.0
Version: 2.1.1
Release: 1
Summary: Pythonic task execution
License: BSD-2-Clause
URL: http://docs.pyinvoke.org
Source0: https://files.pythonhosted.org/packages/b0/29/a509301332714aacc10ff98b7fe6539a9a1f96b18698efe9666ceae1485c/invoke-2.1.0.tar.gz
Source0: https://files.pythonhosted.org/packages/fc/ed/75616c70c3e96bdfec93f6a171e87f0463d9da21b061ff8af8ae7ecda17e/invoke-2.1.1.tar.gz
BuildArch: noarch
%description
Invoke is a Python (2.7 and 3.4+) library for managing shell-oriented
subprocesses and organizing executable Python code into CLI-invokable tasks. It
@ -47,7 +46,6 @@ versioned API website <http://docs.pyinvoke.org>`_.
%prep
%autosetup -n invoke-%{version}
rm -rvf invoke/vendor/yaml2/*
%build
%py3_build
@ -59,6 +57,9 @@ if [ -d doc ]; then cp -arf doc %{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 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}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
@ -87,6 +88,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Mon May 08 2023 wubijie <wubijie@kylinos.cn> - 2.1.1-1
- Update package to version 2.1.1
* Sat May 06 2023 wubijie <wubijie@kylinos.cn> - 2.1.0-1
- Update package to version 2.1.0