# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/hashicorp/hcl %global goipath github.com/hashicorp/hcl/v2 Version: 2.17.0 %gometa %global common_description %{expand: HCL (HashiCorp Configuration Language) is a configuration language built by HashiCorp. The goal of HCL is to build a structured configuration language that is both human and machine friendly for use with command-line tools, but specifically targeted towards DevOps tools, servers, etc..} %global golicenses LICENSE %global godocs CHANGELOG.md README.md spec.md Name: %{goname} Release: %autorelease Summary: HCL is the HashiCorp configuration language License: MPL-2.0 URL: %{gourl} Source: %{gosource} # Remove in F43 Provides: golang-github-hashicorp-hcl-2 = %{version}-%{release} Obsoletes: golang-github-hashicorp-hcl-2 < 2.17.0-3 %global godevelheader %{expand: Provides: golang-github-hashicorp-hcl-2-devel = %{version}-%{release} Obsoletes: golang-github-hashicorp-hcl-2-devel < 2.17.0-3} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 rm -rf cmd hcldec/spec_test.go %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog