# Generated by go2rpm 1.10.0 %bcond_without check %global debug_package %{nil} # https://github.com/hashicorp/golang-lru %global goipath github.com/hashicorp/golang-lru/arc/v2 Version: 2.0.7 %gometa -L -f # arc is in subdirectory %global extractdir %{extractdir}/arc %global common_description %{expand: Golang Adaptive Replacement Cache (ARC) library.} %global golicenses LICENSE simplelru/LICENSE_list %global godocs README.md Name: golang-github-hashicorp-lru-arc-2 Release: %autorelease Summary: Golang ARC library License: MPL-2.0 URL: %{gourl} Source: %{gosource} BuildRequires: golang(github.com/hashicorp/golang-lru/v2) >= 2.0.7 %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog