# Generated by go2rpm 1.6.0 # Disable tests by default as they require a connected yubikey %bcond_with check %global debug_package %{nil} # https://github.com/go-piv/piv-go %global goipath github.com/go-piv/piv-go Version: 1.9.0 %gometa %global common_description %{expand: Keys and certificates for YubiKeys, written in Go.} %global golicenses LICENSE %global godocs CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: Keys and certificates for YubiKeys, written in Go # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} %if %{with check} BuildRequires: pcsc-lite-devel %endif %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog