# Generated by go2rpm
%bcond_without check
# https://github.com/go-mail/mail
%global goipath gopkg.in/mail.v2
%global forgeurl https://github.com/go-mail/mail
Version: 2.3.1
%gometa
%global goaltipaths github.com/go-mail/mail
# Remove in F33:
%global goaltheader %{expand:
Obsoletes: golang-github-mail-v2-devel < 2.3.1-2
}
%global common_description %{expand:
Gomail is a simple and efficient package to send emails. It is well tested and
documented.
Gomail can only send emails using an SMTP server. But the API is flexible and it
is easy to implement other methods for sending emails using a local Postfix, an
API, etc.}
%global golicenses LICENSE
%global godocs CHANGELOG.md CONTRIBUTING.md README.md
Name: %{goname}
Release: 6%{?dist}
Summary: Simple and efficient package to send emails
License: MIT
URL: %{gourl}
Source0: %{gosource}
# /etc/mime.types needed by tests for the Content-Type headers
BuildRequires: mailcap
%description
%{common_description}
%gopkg
%prep
%goprep
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Jul 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.3.1-3
- Add Obsoletes for old name
* Tue Jun 04 01:10:28 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.3.1-2
- Update to new macros
* Tue Mar 26 2019 Mark Goodwin <mgoodwin@redhat.com> - 2.3.1-1
- First package for Fedora