Name: python-voipms Version: 0.2.6 Release: 3 # Fill in the actual package summary to submit package to Fedora Summary: Complete REST API for the voip.ms service # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: MIT URL: https://github.com/4doom4/python-voipms Source: %{pypi_source voipms} Patch0: https://patch-diff.githubusercontent.com/raw/4doom4/python-voipms/pull/27.patch Patch1: https://github.com/4doom4/python-voipms/commit/cec5e0db1f1e6d40920090b7ad877a99d00ea2d3.patch BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'voipms' generated automatically by pyp2spec.} %description %_description %package -n python3-voipms Summary: %{summary} %description -n python3-voipms %_description %prep %autosetup -p1 -n voipms-%{version} %if 0%{?rhel} && 0%{?rhel} < 10 # patch out the use of validator on EL 9 and earlier since validators is not available sed -i -e '/validators>=/d' setup.py sed -i -e '/import validators/,+1d' -e '/result = validators.url(url_string)/,+2d' voipms/entities/didssend.py %endif %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # Add top-level Python module names here as arguments, you can use globs %pyproject_save_files -l '*' +auto %check %pyproject_check_import %files -n python3-voipms -f %{pyproject_files} %changelog * Thu Jul 16 2026 Brian J. Murrell - 0.2.6-3 - Patch out the use of validators on EL < 10 - Since it cannot (easily) be packaged on EL < 10 * Sun Jan 11 2026 Brian J. Murrell - 0.2.6-2 - Add patch to retry on connection errors * Sun Apr 6 2025 Brian J. Murrell - 0.2.6-1 - Initial package. - Add patch to fix missing requirement and broken validators API usage