## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 # Needs network access to Github %bcond_with check %global debug_package %{nil} # https://github.com/go-git/go-git %global goipath github.com/go-git/go-git/v5 Version: 5.4.2 %global commit bc1f419cebcf7505db31149fa459e9e3f8260e00 %gometa %global common_description %{expand: A highly extensible Git implementation in pure Go.} %global golicenses LICENSE %global godocs CODE_OF_CONDUCT.md COMPATIBILITY.md\\\ CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: A highly extensible Git implementation in pure Go # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} %description %{common_description} %package doc Summary: Documentation for %goipath BuildArch: noarch %description -n %{goname}-doc %{common_description} Documentation for %goipath %gopkg %prep %goprep # No testdata packed rm -rfv plumbing/transport/ssh/auth_method_test.go %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %files doc %license LICENSE %doc _examples %changelog * Thu Jan 19 2023 Fedora Release Engineering 5.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Aug 05 2022 Maxwell G 5.4.2-2 - Make doc subpackage noarch * Mon Aug 01 2022 Robert-André Mauchin 5.4.2-1 - Initial import - Close: rhbz#2103460