upgrade to 4.8.0, add yaml file

This commit is contained in:
wangxiao65 2020-10-12 10:53:15 +08:00
parent 6c7dd1ffd9
commit 3330015c4a

View File

@ -1,17 +1,16 @@
%global _empty_manifest_terminate_build 0
Name: python-pexpect
Version: 4.8.0
Release: 1
Summary: Pexpect allows easy control of interactive console applications.
License: ISC license
URL: https://pexpect.readthedocs.io/
Source0: https://files.pythonhosted.org/packages/e5/9b/ff402e0e930e70467a7178abb7c128709a30dfb22d8777c043e501bc1b10/pexpect-4.8.0.tar.gz
BuildArch: noarch
Name: python-pexpect
Version: 4.8.0
Release: 1
Summary: Pexpect allows easy control of interactive console applications.
License: ISC license
URL: https://pexpect.readthedocs.io/
Source0: https://files.pythonhosted.org/packages/e5/9b/ff402e0e930e70467a7178abb7c128709a30dfb22d8777c043e501bc1b10/pexpect-4.8.0.tar.gz
BuildArch: noarch
Requires: python3-ptyprocess
Requires: python3-ptyprocess
%description
Pexpect is a pure Python module for spawning child applications; controlling
them; and responding to expected patterns in their output. Pexpect works like
Don Libes' Expect. Pexpect allows your script to spawn a child application and
@ -24,10 +23,9 @@ automated software testing. Pexpect is in the spirit of Don Libes' Expect, but
Pexpect is pure Python.
%package -n python3-pexpect
Summary: Pexpect allows easy control of interactive console applications.
Provides: python-pexpect
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Summary: Pexpect allows easy control of interactive console applications.
Provides: python-pexpect
BuildRequires: python3-devel python3-setuptools
%description -n python3-pexpect
Pexpect is a pure Python module for spawning child applications; controlling
@ -42,8 +40,8 @@ automated software testing. Pexpect is in the spirit of Don Libes' Expect, but
Pexpect is pure Python.
%package help
Summary: Development documents and examples for pexpect
Provides: python3-pexpect-doc
Summary: Development documents and examples for pexpect
Provides: python3-pexpect-doc
%description help
Pexpect is a pure Python module for spawning child applications; controlling
@ -72,20 +70,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
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
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
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
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
touch doclist.lst
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
popd
mv %{buildroot}/filelist.lst .
@ -98,5 +96,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Sat Oct 10 2020 wangxiao <wangxiao65@huawei.com> - 4.8.0-1
* Mon Oct 12 2020 wangxiao <wangxiao65@huawei.com> - 4.8.0-1
- upgrade to 4.8.0, add yaml file
* Sat Oct 10 2020 Lijin Yang <yanglijin@huawei.com> - 4.6-2
- Package init