diff --git a/Add-version-fix-no-version-in-build-product.patch b/Add-version-fix-no-version-in-build-product.patch new file mode 100644 index 0000000..33a7c02 --- /dev/null +++ b/Add-version-fix-no-version-in-build-product.patch @@ -0,0 +1,11 @@ +diff --git a/setup.cfg b/setup.cfg +index 8a7a0be..1dba288 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -1,5 +1,6 @@ + [metadata] + name = portend ++version = 3.1.0 + author = Jason R. Coombs + author_email = jaraco@jaraco.com + description = TCP port monitoring and discovery diff --git a/python-portend.spec b/python-portend.spec index dfe9895..39b26ec 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -1,11 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-portend Version: 3.1.0 -Release: 1 +Release: 2 Summary: TCP port monitoring and discovery License: MIT URL: https://pypi.org/project/portend Source0: https://files.pythonhosted.org/packages/6e/0a/42bcc9c97744958ce72d33f526e972379b9e90adede8a151f338818c41d4/portend-3.1.0.tar.gz + +Patch0000: Add-version-fix-no-version-in-build-product.patch BuildArch: noarch Recommends: %{name}-help = %{version}-%{release} @@ -105,7 +107,7 @@ a bound listener (i.e. a TCP connection is established to that host/port), assert_free will raise a ``PortNotFree`` exception. %prep -%autosetup -n portend-3.1.0 +%autosetup -n portend-3.1.0 -p1 %build %py3_build @@ -145,6 +147,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wed Jul 06 2022 xu_ping - 3.1.0-2 +- Add version fixes no version in build product + * Tue Jun 21 2022 houyingchao - 3.1.0-1 - Upgrade to version 3.1.0