From 78c396168eb92e4989f47ffcfc95102a9af9146f Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 25 Oct 2024 18:41:00 +0300 Subject: [PATCH] import python-ifaddr-0.2.0-2.el10 --- .gitignore | 1 + .python-ifaddr.metadata | 1 + SPECS/python-ifaddr.spec | 51 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 .gitignore create mode 100644 .python-ifaddr.metadata create mode 100644 SPECS/python-ifaddr.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..22dcfda --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ifaddr-0.2.0.tar.gz diff --git a/.python-ifaddr.metadata b/.python-ifaddr.metadata new file mode 100644 index 0000000..85bbf7e --- /dev/null +++ b/.python-ifaddr.metadata @@ -0,0 +1 @@ +5573c60368a863960179068e1e8572cb782fec0a SOURCES/ifaddr-0.2.0.tar.gz diff --git a/SPECS/python-ifaddr.spec b/SPECS/python-ifaddr.spec new file mode 100644 index 0000000..19b47e1 --- /dev/null +++ b/SPECS/python-ifaddr.spec @@ -0,0 +1,51 @@ +%global srcname ifaddr +%global _description \ +ifaddr is a small Python library that allows you to find all the IP addresses\ +of the computer. + +Name: python-%{srcname} +Version: 0.2.0 +Release: 2%{?dist} +Summary: Python library that allows you to find all the IP addresses of the computer + +License: MIT +URL: https://pypi.org/project/ifaddr +Source: %{pypi_source} + +BuildArch: noarch + +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description -n python3-%{srcname} %{_description} + +Python 3 version. + +%prep +%autosetup -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{srcname} +%license LICENSE.txt +%doc README.rst +%{python3_sitelib}/%{srcname}/ +%{python3_sitelib}/%{srcname}-*.egg-info/ + +%changelog +* Tue Sep 19 2024 Rafael Jeffman - 0.2.0-2 +- Bump version for release rebuild. + Resolves: RHEL-39531 + +* Mon Aug 26 2024 Rafael Jeffman - 0.2.0-1 +- Inital RHEL import + Resolves: RHEL-39531