fix random build failed

This commit is contained in:
zhanghua1831 2020-12-24 17:01:06 +08:00
parent 1311254364
commit 566190ad26

View File

@ -1,21 +1,21 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-portend Name: python-portend
Version: 2.6 Version: 2.6
Release: 1 Release: 2
Summary: TCP port monitoring and discovery Summary: TCP port monitoring and discovery
License: MIT License: MIT
URL: https://pypi.org/project/portend URL: https://pypi.org/project/portend
Source0: https://files.pythonhosted.org/packages/04/98/997f8668b11292f13d3e69fc626232c497228306c764523c5a3a3b59c775/portend-2.6.tar.gz Source0: https://files.pythonhosted.org/packages/04/98/997f8668b11292f13d3e69fc626232c497228306c764523c5a3a3b59c775/portend-2.6.tar.gz
BuildArch: noarch BuildArch: noarch
Recommends: %{name}-help = %{version}-%{release} Recommends: %{name}-help = %{version}-%{release}
Requires: python3-tempora Requires: python3-tempora
Requires: python3-sphinx Requires: python3-sphinx
Requires: python3-pytest Requires: python3-pytest
Requires: python3-pytest-checkdocs Requires: python3-pytest-checkdocs
Requires: python3-pytest-flake8 Requires: python3-pytest-flake8
Requires: python3-pytest-black-multipy Requires: python3-pytest-black-multipy
Requires: python3-pytest-cov Requires: python3-pytest-cov
%description %description
Use portend to monitor TCP ports for bound or unbound states. Use portend to monitor TCP ports for bound or unbound states.
@ -44,10 +44,11 @@ a bound listener (i.e. a TCP connection is established to that host/port),
assert_free will raise a ``PortNotFree`` exception. assert_free will raise a ``PortNotFree`` exception.
%package -n python3-portend %package -n python3-portend
Summary: TCP port monitoring and discovery Summary: TCP port monitoring and discovery
Provides: python-portend Provides: python-portend
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
%description -n python3-portend %description -n python3-portend
Use portend to monitor TCP ports for bound or unbound states. Use portend to monitor TCP ports for bound or unbound states.
For example, to wait for a port to be occupied, timing out after 3 seconds:: For example, to wait for a port to be occupied, timing out after 3 seconds::
@ -75,8 +76,8 @@ a bound listener (i.e. a TCP connection is established to that host/port),
assert_free will raise a ``PortNotFree`` exception. assert_free will raise a ``PortNotFree`` exception.
%package help %package help
Summary: Development documents and examples for portend Summary: Development documents and examples for portend
Provides: python3-portend-doc Provides: python3-portend-doc
%description help %description help
Use portend to monitor TCP ports for bound or unbound states. Use portend to monitor TCP ports for bound or unbound states.
For example, to wait for a port to be occupied, timing out after 3 seconds:: For example, to wait for a port to be occupied, timing out after 3 seconds::
@ -144,5 +145,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Nov 16 2020 Python_Bot <Python_Bot@openeuler.org> * Mon Nov 16 2020 zhanghua <zhanghua@huawei.com> - 2.6-2
- fix random build failed
* Mon Nov 16 2020 Python_Bot <Python_Bot@openeuler.org> - 2.6-1
- Package init - Package init