!1 Package init

From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-05-18 01:14:52 +00:00 committed by Gitee
commit 52a9ed3a5c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
Name: ephemeral-port-reserve
Version: 1.1.4
Release: 1
Summary: Bind to an ephemeral port, force it into the TIME_WAIT state, and unbind it.
License: MIT
URL: https://github.com/Yelp/ephemeral-port-reserve
Source0: https://github.com/Yelp/%{name}/archive/refs/tags/v%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-pip python3-wheel python3-flit
# Provide the python3-* namespace as the package
# can also be used as a library.
Provides: python3-ephemeral-port-reserve
%description
Bind to an ephemeral port, force it into the TIME_WAIT state, and unbind it.
%prep
%autosetup -p1 -n ephemeral-port-reserve-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n ephemeral-port-reserve
%{_bindir}/ephemeral-port-reserve
%{python3_sitelib}/*
%doc README.md
%changelog
* Wed May 17 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.1.4-1
- Package init

BIN
v1.1.4.tar.gz Normal file

Binary file not shown.