# Generated by go2rpm 1.3 # Disable until go-crypto is sync with upstream %bcond_with check # https://github.com/emersion/go-pgpmail %global goipath github.com/emersion/go-pgpmail Version: 0.1.0 %gometa %global common_description %{expand: PGP-encrypted email library for Go.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: PGP-encrypted email library for Go License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/emersion/go-message/textproto) BuildRequires: golang(github.com/ProtonMail/go-crypto/openpgp) BuildRequires: golang(github.com/ProtonMail/go-crypto/openpgp/armor) BuildRequires: golang(github.com/ProtonMail/go-crypto/openpgp/errors) BuildRequires: golang(github.com/ProtonMail/go-crypto/openpgp/packet) BuildRequires: golang(golang.org/x/text/transform) %description %{common_description} %gopkg %prep %goprep # Needed by aerc sed -i "s|golang.org/x/crypto|github.com/ProtonMail/go-crypto|" $(find . -name "*.go" -type f) %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Dec 09 10:38:23 CET 2020 Robert-André Mauchin - 0.1.0-1 - Initial package