!12 Upgrade to latest release [python-invoke -> 2.1.1]
From: @wubijie123 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
15d7e8805c
Binary file not shown.
BIN
invoke-2.1.1.tar.gz
Normal file
BIN
invoke-2.1.1.tar.gz
Normal file
Binary file not shown.
@ -1,14 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-invoke
|
Name: python-invoke
|
||||||
Version: 2.1.0
|
Version: 2.1.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Pythonic task execution
|
Summary: Pythonic task execution
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
URL: http://docs.pyinvoke.org
|
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
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Invoke is a Python (2.7 and 3.4+) library for managing shell-oriented
|
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
|
subprocesses and organizing executable Python code into CLI-invokable tasks. It
|
||||||
@ -47,7 +46,6 @@ versioned API website <http://docs.pyinvoke.org>`_.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n invoke-%{version}
|
%autosetup -n invoke-%{version}
|
||||||
rm -rvf invoke/vendor/yaml2/*
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_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 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
|
||||||
@ -87,6 +88,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat May 06 2023 wubijie <wubijie@kylinos.cn> - 2.1.0-1
|
||||||
- Update package to version 2.1.0
|
- Update package to version 2.1.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user