# Generated by go2rpm %bcond_without check # https://github.com/patrickmn/go-cache %global goipath github.com/patrickmn/go-cache Version: 2.1.0 %gometa %global common_description %{expand: Go-cache is an in-memory key:value store/cache similar to memcached that is suitable for applications running on a single machine. Its major advantage is that, being essentially a thread-safe map[string]interface{} with expiration times, it doesn't need to serialize or transmit its contents over the network. Any object can be stored, for a given duration or forever, and the cache can be safely used by multiple goroutines. Although Go-cache isn't meant to be used as a persistent datastore, the entire cache can be saved to and loaded from a file (using c.Items() to retrieve the items map to serialize, and NewFrom() to create a cache from a deserialized one) to recover from downtime quickly. (See the docs for NewFrom() for caveats.)} %global golicenses LICENSE %global godocs CONTRIBUTORS README.md Name: %{goname} Release: 6%{?dist} Summary: In-memory key:value store/cache library for Go License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed May 01 18:42:43 CEST 2019 Robert-André Mauchin - 2.1.0-6 - Update to new macros * Fri Feb 01 2019 Fedora Release Engineering - 2.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Oct 06 2018 Robert-André Mauchin - 2.1.0-4 - Update to new Go packaging * Fri Jul 13 2018 Fedora Release Engineering - 2.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Oct 07 2017 Ed Marshall - 2.1.0-1 - Update to upstream 2.1.0 release. * Sat Oct 07 2017 Ed Marshall - 2.0.0-1 - First package for Fedora