Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/gregjones/httpcache
%global goipath         github.com/gregjones/httpcache
%global commit          3befbb6ad0cc97d4c25d851e9528915809e1a22f

%gometa

%global common_description %{expand:
Package httpcache provides a http.RoundTripper implementation that works
as a mostly RFC 7234 compliant cache for http responses.}

%global golicenses      LICENSE.txt
%global godocs          README.md

Name:           %{goname}
Version:        0
Release:        0.6%{?dist}
Summary:        Transport for http.Client that will cache responses according to the HTTP RFC
License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/bradfitz/gomemcache/memcache)
BuildRequires:  golang(github.com/gomodule/redigo/redis)
BuildRequires:  golang(github.com/peterbourgon/diskv)
BuildRequires:  golang(github.com/syndtr/goleveldb/leveldb)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Mon Apr 29 16:52:57 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.4.20190429git3befbb6
- Bump to commit 3befbb6ad0cc97d4c25d851e9528915809e1a22f

* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.git9cad4c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2.git9cad4c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Wed Mar 21 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20180417git9cad4c3
- First package for Fedora