# Generated by go2rpm 1 %bcond_without check # https://github.com/golangci/lint-1 %global goipath github.com/golangci/lint-1 %global commit d2cdd8c0821928c61cb0903441f8b35457a98a61 %gometa %global common_description %{expand: Fork of the official Go linter with API enhancements} %global golicenses LICENSE %global godocs README.md CONTRIBUTING.md Name: %{goname} Version: 0 Release: %autorelease Summary: Fork of the official Go linter with API enhancements # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-github-golangci-lint-1 = %{version}-%{release} Obsoletes: golang-github-golangci-lint-1 < 0-0.10.20200828gitd2cdd8c %global godevelheader %{expand: Provides: golang-github-golangci-lint-1-devel = %{version}-%{release} Obsoletes: golang-github-golangci-lint-1-devel < 0-0.10.20200828gitd2cdd8c} BuildRequires: golang(golang.org/x/lint) BuildRequires: golang(golang.org/x/tools/go/ast/astutil) BuildRequires: golang(golang.org/x/tools/go/gcexportdata) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog