# Generated by go2rpm 1.18.0 %bcond check 1 # https://github.com/fido-device-onboard/go-fdo-client %global goipath github.com/fido-device-onboard/go-fdo-client %global debug_package %{nil} Version: 0 %gometa -L -f Name: go-fdo-client Release: 0.20251125161629282628.pr46%{?dist} Summary: FIDO FDO compliant device on-boarding tool # Generated by go-vendor-tools License: Apache-2.0 AND BSD-3-Clause AND MIT URL: %{gourl} Source0: go-fdo-client-0.tar.gz # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml %description go-fdo-client is the device-side implementation of FIDO Device Onboard specification in Go. It provides an FDO client that interacts with FDO manufacturer and owner servers to perform device on-boarding. %prep %goprep -A %setup -q -T -D -a1 %{forgesetupargs} -n go-fdo-client-0 #%%autopatch -p1 %build %global gomodulesmode GO111MODULE=on export LDFLAGS="-X %{goipath}/internal/version.VERSION=%{version}" %gobuild -o %{gobuilddir}/bin/go-fdo-client %{goipath} %install install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %check %if %{with check} %gotest ./... %endif %files %license LICENSE vendor/modules.txt %doc README.md %{_bindir}/go-fdo-client %changelog %autochangelog