Add version fix no version in build product
Signed-off-by: cherry530 <xuping33@huawei.com>
This commit is contained in:
parent
f1644ae25b
commit
3a69439c78
11
Add-version-fix-no-version-in-build-product.patch
Normal file
11
Add-version-fix-no-version-in-build-product.patch
Normal file
@ -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
|
||||
@ -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 <xuping33@h-partners.com> - 3.1.0-2
|
||||
- Add version fixes no version in build product
|
||||
|
||||
* Tue Jun 21 2022 houyingchao <houyingchao@h-partners.com> - 3.1.0-1
|
||||
- Upgrade to version 3.1.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user