diff --git a/.ephemeral-port-reserve.metadata b/.ephemeral-port-reserve.metadata new file mode 100644 index 0000000..e1c72fc --- /dev/null +++ b/.ephemeral-port-reserve.metadata @@ -0,0 +1 @@ +ec657c8b5f83308ff1133db311ed728c206dc3f3 SOURCES/v1.1.4.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/ephemeral-port-reserve.spec b/SPECS/ephemeral-port-reserve.spec new file mode 100644 index 0000000..0c8bd43 --- /dev/null +++ b/SPECS/ephemeral-port-reserve.spec @@ -0,0 +1,60 @@ +Name: ephemeral-port-reserve +Version: 1.1.4 +Release: 3%{?dist} +Summary: Bind to an ephemeral port, force it into the TIME_WAIT state, and unbind it. + +License: MIT +URL: https://github.com/Yelp/%{name}/ +Source0: https://github.com/Yelp/%{name}/archive/refs/tags/v%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-pytest + +# Provide the python3-* namespace as the package +# can also be used as a library. +%py_provides python3-ephemeral-port-reserve + +%global _description %{expand: +Bind to an ephemeral port, force it into the TIME_WAIT state, and unbind it.} + + +%description %_description + +%prep +%autosetup -p1 -n ephemeral-port-reserve-%{version} + + +%generate_buildrequires +%pyproject_buildrequires -r + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files ephemeral_port_reserve + + +%check +%pyproject_check_import +%pytest + + +%files -f %{pyproject_files} +%{_bindir}/ephemeral-port-reserve +%doc README.md + + +%changelog +* Thu Jul 21 2022 Fedora Release Engineering - 1.1.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 1.1.4-2 +- Rebuilt for Python 3.11 + +* Mon May 02 2022 Charalampos Stratakis - 1.1.4-1 +- Initial package