## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-icmplib Version: 3.0.3 Release: %autorelease Summary: An implementation of the ICMP protocol in Python # See https://github.com/ValentinBELYN/icmplib/issues/72 License: LGPL-3.0-or-later URL: https://github.com/ValentinBELYN/icmplib # pypi_source tar ball differs from github tag and is lacking docs/examples :( Source: https://github.com/ValentinBELYN/icmplib/archive/v%{version}/%{name}-v%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: An implementation of the ICMP protocol in Python.} %description %_description %package -n python3-icmplib Summary: %{summary} %description -n python3-icmplib %_description %prep %autosetup -p1 -n icmplib-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files icmplib %check %pyproject_check_import %files -n python3-icmplib -f %{pyproject_files} %license LICENSE %doc docs/* examples/*.py %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 3.0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 3.0.3-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Sep 20 2023 Paul Wouters - 3.0.3-1 - Initial package ## END: Generated by rpmautospec