# Generated by go2rpm 1.9.0
%bcond_without check
%global debug_package %{nil}
# https://github.com/jcmturner/gokrb5
%global goipath github.com/jcmturner/gokrb5
Version: 8.4.4
%gometa
%global goaltipaths github.com/jcmturner/gokrb5/v8
%global common_description %{expand:
Pure Go Kerberos library for clients and services.}
%global golicenses LICENSE NOTICE
%global godocs examples USAGE.md CONTRIBUTING.md README.md examples\\\
v8/USAGE.md v8/README.md v8/gssapi/README.md\\\
gssapi/README.md
Name: %{goname}
Release: %autorelease
Summary: Pure Go Kerberos library for clients and services
License: Apache-2.0
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep
%autopatch -p1
rm -rf "*.go"
find . -mindepth 1 -maxdepth 1 -not -wholename './v8' -not -wholename './_build' -type d -exec rm -rf {} +
mv v8/USAGE.md USAGE-v8
mv v8/README.md README-v8
mv v8/gssapi/README.md README-gssapi-v8
%generate_buildrequires
%go_generate_buildrequires
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
%autochangelog