## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # 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.0.2 %gometa -L -f Name: go-fdo-client Release: %autorelease 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: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 %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} #%%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 ## START: Generated by rpmautospec * Fri Jan 16 2026 Fedora Release Engineering - 0.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Tue Dec 09 2025 Packit - 0.0.2-1 - Update to 0.0.2 upstream release * Mon Dec 08 2025 Packit - 0.0.1-1 - Update to 0.0.1 upstream release * Fri Oct 10 2025 Maxwell G - 0-0.2 - Rebuild for golang 1.25.2 * Mon Aug 18 2025 Kenneth Giusti - 0-0.1 - Initial import - Closes rhbz#2386905 ## END: Generated by rpmautospec