## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %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.6.0 %bcond_without check # https://github.com/koppacetic/go-gpsd %global goipath github.com/koppacetic/go-gpsd Version: 0.4.0 %gometa %global common_description %{expand: GPSD client for Go.} %global godocs examples README.md Name: %{goname} Release: %autorelease Summary: GPSD client for Go # fork of fork of https://github.com/stratoberry/go-gpsd/blob/master/LICENSE License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep sed -i 's|"github.com/atotto/go-gpsd"|"github.com/koppacetic/go-gpsd"|' $(find -iname *.go -type f) %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Robert-André Mauchin 0.4.0-1 - Initial import