## 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 %global debug_package %{nil} # https://github.com/go-git/gcfg %global goipath github.com/go-git/gcfg Version: 1.5.0 %gometa %global common_description %{expand: Go-gcfg/gcfg fork for usage in go-git/go-git.} %global golicenses LICENSE %global godocs README Name: %{goname} Release: %autorelease Summary: Go-gcfg/gcfg fork for usage in go-git/go-git # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} # Fix tests, backported to fork Patch0: https://github.com/go-gcfg/gcfg/commit/f52d3f482a436943be3dabf712d76d30cde3708b.patch %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 1.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Jul 17 2022 Robert-André Mauchin 1.5.0-1 - Initial import - Close: rhbz#2102846