# Generated by go2rpm 1.10.0 %bcond_without check %global debug_package %{nil} # https://github.com/ReneKroon/ttlcache %global goipath github.com/ReneKroon/ttlcache/v2 Version: 3.1.0 %gometa -L -f %global common_description %{expand: An in-memory cache with item expiration and generics.} %global golicenses LICENSE %global godocs README.md Name: golang-github-renekroon-ttlcache2 Release: %autorelease Summary: An in-memory cache with item expiration and generics License: MIT 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