Blob Blame History Raw
# Generated by go2rpm 1.9.0
%bcond_without check
%global debug_package %{nil}

# https://github.com/peterbourgon/ff
%global goipath         github.com/peterbourgon/ff/v3
Version:                3.4.0

%gometa -f

%global common_description %{expand:
ff stands for flags-first, and provides an opinionated way to populate a
flag.FlagSet with configuration data from the environment. By default, it
parses only from the command line, but you can enable parsing from
environment variables (lower priority) and/or a configuration file (lowest
priority).}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Flags-first package for configuration

# Upstream license specification: Apache-2.0
License:        ASL 2.0
URL:            %{gourl}
Source:         %{gosource}

%description %{common_description}

%gopkg

%prep
%goprep
%autopatch -p1

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
%autochangelog