## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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.16.0 %bcond check 1 # scancode has a lot of dependencies, so it can be disabled for a faster build # or when its deps are unavailable. %if %{defined rhel} || "%{_arch}" == "i386" %global go_vendor_license_check_disable 1 %endif # https://github.com/fido-device-onboard/go-fdo-server %global goipath github.com/fido-device-onboard/go-fdo-server %global commit 7b26bd51c2a06fde3229f3998462bd460f69375c %gometa -L -f %global common_description %{expand: go-fdo-server is the server implementation of FIDO Device Onboard specification in Go. It provides an FDO server that can function in the roles of manufacturer, rendezvous, and owner. } Name: go-fdo-server Version: 0 Release: %autorelease -p Summary: None # 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 Source2: go-vendor-tools.toml BuildRequires: go-vendor-tools %description %{common_description} %prep %goprep -A %setup -q -T -D -a1 %{forgesetupargs} %autopatch -p1 %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build %global gomodulesmode GO111MODULE=on %gobuild -o %{gobuilddir}/bin/go-fdo-server %{goipath} %install %go_vendor_license_install -c %{S:2} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %check %go_vendor_license_check -c %{S:2} %if %{with check} %gocheck %endif %files -f %{go_vendor_license_filelist} %license vendor/modules.txt %doc README.md SECURITY.md %{_bindir}/go-fdo-server %changelog ## START: Generated by rpmautospec * Mon Jul 28 2025 John Doe - 0-0.1 - Uncommitted changes ## END: Generated by rpmautospec