## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 14; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm %bcond_without check # https://github.com/golang/groupcache %global goipath github.com/golang/groupcache %global commit 41bb18bfe9da5321badc438f91158cd790a33aa3 %gometa %global common_description %{expand: Package Groupcache provides a data loading mechanism with caching and de-duplication that works across a set of peer processes. Each data Get first consults its local cache, otherwise delegates to the requested key's canonical owner, which then checks its cache or finally gets the data. In the common case, many concurrent cache misses across a set of peers for the same key result in just one cache fill.} %global golicenses LICENSE %global godocs README.md %global gosupfiles glide.lock glide.yaml Name: %{goname} Version: 0 Release: %autorelease -p -b 16 Summary: Caching and cache-filling library, intended as a replacement # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock BuildRequires: golang(github.com/golang/protobuf/proto) %description %{common_description} %gopkg %prep %goprep cp %{S:1} %{S:2} . %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering 0-0.29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering 0-0.28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 0-0.27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Sep 22 2021 Robert-André Mauchin 0-0.26 - Fix release number * Thu Jul 29 2021 Robert-André Mauchin 0-0.10 - Bump to commit 41bb18bfe9da5321badc438f91158cd790a33aa3