59 lines
1.2 KiB
RPMSpec
59 lines
1.2 KiB
RPMSpec
# Generated by go2rpm 1.15.0
|
|
%bcond check 0
|
|
%bcond bootstrap 0
|
|
|
|
%global debug_package %{nil}
|
|
%if %{with bootstrap}
|
|
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
|
|
%endif
|
|
|
|
# https://github.com/letsencrypt/pkcs11key
|
|
%global goipath github.com/letsencrypt/pkcs11key
|
|
Version: 4.0.0
|
|
%global tag v4.0.0
|
|
|
|
%gometa -f
|
|
|
|
%global goaltipaths github.com/letsencrypt/pkcs11key/v4
|
|
%global common_description %{expand:
|
|
An interface to PKCS#11 devices that satisfies the crypto.Signer interface.}
|
|
|
|
%global golicenses LICENSE
|
|
%global godocs README.md
|
|
|
|
Name: golang-github-letsencrypt-pkcs11key-4
|
|
Release: %autorelease
|
|
Summary: An interface to PKCS#11 devices that satisfies the crypto.Signer interface
|
|
|
|
License: BSD-2-Clause
|
|
URL: %{gourl}
|
|
Source: %{gosource}
|
|
|
|
%description %{common_description}
|
|
|
|
%gopkg
|
|
|
|
%prep
|
|
%goprep -A
|
|
%autopatch -p1 -q
|
|
|
|
%if %{without bootstrap}
|
|
%generate_buildrequires
|
|
%go_generate_buildrequires
|
|
%endif
|
|
|
|
%install
|
|
%gopkginstall
|
|
|
|
%if %{without bootstrap}
|
|
%if %{with check}
|
|
%check
|
|
%gocheck
|
|
%endif
|
|
%endif
|
|
|
|
%gopkgfiles
|
|
|
|
%changelog
|
|
%autochangelog
|