Blame SPECS/ephemeral-port-reserve.spec
|
rdobuilder |
e1e97c |
Name: ephemeral-port-reserve
|
|
rdobuilder |
e1e97c |
Version: 1.1.4
|
|
rdobuilder |
e1e97c |
Release: 3%{?dist}
|
|
rdobuilder |
e1e97c |
Summary: Bind to an ephemeral port, force it into the TIME_WAIT state, and unbind it.
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
License: MIT
|
|
rdobuilder |
e1e97c |
URL: https://github.com/Yelp/%{name}/
|
|
rdobuilder |
e1e97c |
Source0: https://github.com/Yelp/%{name}/archive/refs/tags/v%{version}.tar.gz
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
BuildArch: noarch
|
|
rdobuilder |
e1e97c |
BuildRequires: python3-devel
|
|
rdobuilder |
e1e97c |
BuildRequires: pyproject-rpm-macros
|
|
rdobuilder |
e1e97c |
BuildRequires: python3-pytest
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
# Provide the python3-* namespace as the package
|
|
rdobuilder |
e1e97c |
# can also be used as a library.
|
|
rdobuilder |
e1e97c |
%py_provides python3-ephemeral-port-reserve
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
%global _description %{expand:
|
|
rdobuilder |
e1e97c |
Bind to an ephemeral port, force it into the TIME_WAIT state, and unbind it.}
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
%description %_description
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
%prep
|
|
rdobuilder |
e1e97c |
%autosetup -p1 -n ephemeral-port-reserve-%{version}
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
%generate_buildrequires
|
|
rdobuilder |
e1e97c |
%pyproject_buildrequires -r
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
%build
|
|
rdobuilder |
e1e97c |
%pyproject_wheel
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
%install
|
|
rdobuilder |
e1e97c |
%pyproject_install
|
|
rdobuilder |
e1e97c |
%pyproject_save_files ephemeral_port_reserve
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
%check
|
|
rdobuilder |
e1e97c |
%pyproject_check_import
|
|
rdobuilder |
e1e97c |
%pytest
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
%files -f %{pyproject_files}
|
|
rdobuilder |
e1e97c |
%{_bindir}/ephemeral-port-reserve
|
|
rdobuilder |
e1e97c |
%doc README.md
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
%changelog
|
|
rdobuilder |
e1e97c |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-3
|
|
rdobuilder |
e1e97c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.4-2
|
|
rdobuilder |
e1e97c |
- Rebuilt for Python 3.11
|
|
rdobuilder |
e1e97c |
|
|
rdobuilder |
e1e97c |
* Mon May 02 2022 Charalampos Stratakis <cstratak@redhat.com> - 1.1.4-1
|
|
rdobuilder |
e1e97c |
- Initial package
|