From 566190ad26da08829e3fcf626fe50179b07b508e Mon Sep 17 00:00:00 2001 From: zhanghua1831 Date: Thu, 24 Dec 2020 17:01:06 +0800 Subject: [PATCH] fix random build failed --- python-portend.spec | 48 ++++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/python-portend.spec b/python-portend.spec index e4e5df8..8fcc2ea 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -1,21 +1,21 @@ %global _empty_manifest_terminate_build 0 -Name: python-portend -Version: 2.6 -Release: 1 -Summary: TCP port monitoring and discovery -License: MIT -URL: https://pypi.org/project/portend -Source0: https://files.pythonhosted.org/packages/04/98/997f8668b11292f13d3e69fc626232c497228306c764523c5a3a3b59c775/portend-2.6.tar.gz -BuildArch: noarch +Name: python-portend +Version: 2.6 +Release: 2 +Summary: TCP port monitoring and discovery +License: MIT +URL: https://pypi.org/project/portend +Source0: https://files.pythonhosted.org/packages/04/98/997f8668b11292f13d3e69fc626232c497228306c764523c5a3a3b59c775/portend-2.6.tar.gz +BuildArch: noarch Recommends: %{name}-help = %{version}-%{release} -Requires: python3-tempora -Requires: python3-sphinx -Requires: python3-pytest -Requires: python3-pytest-checkdocs -Requires: python3-pytest-flake8 -Requires: python3-pytest-black-multipy -Requires: python3-pytest-cov +Requires: python3-tempora +Requires: python3-sphinx +Requires: python3-pytest +Requires: python3-pytest-checkdocs +Requires: python3-pytest-flake8 +Requires: python3-pytest-black-multipy +Requires: python3-pytest-cov %description 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. %package -n python3-portend -Summary: TCP port monitoring and discovery -Provides: python-portend -BuildRequires: python3-devel -BuildRequires: python3-setuptools +Summary: TCP port monitoring and discovery +Provides: python-portend +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm %description -n python3-portend 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:: @@ -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. %package help -Summary: Development documents and examples for portend -Provides: python3-portend-doc +Summary: Development documents and examples for portend +Provides: python3-portend-doc %description help 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:: @@ -144,5 +145,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon Nov 16 2020 Python_Bot +* Mon Nov 16 2020 zhanghua - 2.6-2 +- fix random build failed + +* Mon Nov 16 2020 Python_Bot - 2.6-1 - Package init