## START: Set by rpmautospec ## (rpmautospec version 0.7.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: getmail6 Version: 6.19.8 Release: %autorelease Summary: A mail retrieval, sorting, and delivering system License: GPL-2.0-only and Apache-2.0 URL: https://www.getmail6.org/ Source: %{pypi_source getmail6} BuildArch: noarch BuildRequires: python3-devel # check BuildRequires: python3-pytest %description A mail retriever with support for POP3, POP3-over-SSL, IMAP4, IMAP4-over-SSL, and SDPS mail accounts. It supports normal single-user mail accounts and multidrop (domain) mailboxes. %prep %autosetup -p1 -n getmail6-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files 'getmailcore' +auto %check %pyproject_check_import %pytest %files -f %{pyproject_files} %license docs/COPYING %dir /usr/share/doc/getmail %changelog ## START: Generated by rpmautospec * Thu May 15 2025 Dick Marinus - 6.19.8-1 - v6.19.8 * Sat Apr 19 2025 Dick Marinus - 6.19.7-1 - Initial import (fedora#2357605). ## END: Generated by rpmautospec