# Generated by go2rpm 1.3 %bcond_without check # https://github.com/ProtonMail/go-crypto %global goipath github.com/ProtonMail/go-crypto # Do not update past this for compatibility with aerc %global commit 11f6ee2dd60214416ec20b57c39eaca69a714f84 %gometa %global common_description %{expand: Go supplementary cryptography libraries.} %global golicenses LICENSE PATENTS %global godocs AUTHORS CONTRIBUTING.md CONTRIBUTORS README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Go supplementary cryptography libraries # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(golang.org/x/net/idna) BuildRequires: golang(golang.org/x/sys/cpu) BuildRequires: golang(golang.org/x/term) %description %{common_description} %gopkg %prep %goprep 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:58:56 CET 2020 Robert-André Mauchin - 0-0.1.20201209git11f6ee2 - Initial package