## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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-resend Version: 2.21.0 Release: %autorelease Summary: Resend Python SDK License: MIT URL: https://github.com/resendlabs/resend-python Source: %{pypi_source resend} Source1: requirements.txt BuildSystem: pyproject BuildOption(install): -l resend BuildArch: noarch BuildRequires: python3-devel # required for even running generate_buildrequires BuildRequires: python3-typing-extensions BuildRequires: python3-requests BuildRequires: python3-setuptools %global _description %{expand: The best way to reach humans instead of spam folders. Deliver transactional and marketing emails at scale. Python API to the service.} %description %_description %package -n python3-resend Summary: %{summary} %description -n python3-resend %_description %prep -a # contains deprecated feature rm setup.cfg # OMG, this reads requirements.txt but that is not included in tarball sed -i '1,$s/^install_requires = open.*/install_requires = \[\]/' setup.py %check %pyproject_check_import %files -n python3-resend -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Mon Feb 09 2026 Miroslav Suchý - 2.21.0-1 - initial packaging ## END: Generated by rpmautospec