# Generated by go2rpm %bcond_without check %global debug_package %{nil} # https://github.com/alecthomas/kingpin %global goipath gopkg.in/alecthomas/kingpin.v2 %global forgeurl https://github.com/alecthomas/kingpin Version: 2.3.2 %gometa -f %global goaltipaths github.com/alecthomas/kingpin/v2 %global common_description %{expand: Kingpin is a fluent-style, type-safe command-line parser. It supports flags, nested commands, and positional arguments.} %global golicenses COPYING %global godocs _examples README.md Name: %{goname} Release: %autorelease Summary: Go command line and flag parser License: MIT URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-gopkg-alecthomas-kingpin-2 = %{version}-%{release} Obsoletes: golang-gopkg-alecthomas-kingpin-2 < 2.3.2-2 %global godevelheader %{expand: Provides: golang-gopkg-alecthomas-kingpin-2-devel = %{version}-%{release} Obsoletes: golang-gopkg-alecthomas-kingpin-2-devel < 2.3.2-2} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog