Blame golang-github-jcmturner-gokrb5.spec

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