Package init
This commit is contained in:
parent
d2736e5023
commit
a6100e9493
37
ephemeral-port-reserve.spec
Normal file
37
ephemeral-port-reserve.spec
Normal 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
BIN
v1.1.4.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user