# Generated by go2rpm
%bcond_without check
# https://github.com/pquerna/cachecontrol
%global goipath github.com/pquerna/cachecontrol
%global commit 1555304b9b35fdd2b425bccf1a5613677705e7d0
%gometa
%global common_description %{expand:
Cachecontrol implements RFC 7234 Hypertext Transfer Protocol (HTTP/1.1):
Caching. It does this by parsing the Cache-Control and other headers, providing
information about requests and responses -- but Cachecontrol does not implement
an actual cache backend, just the control plane to make decisions about if a
particular response is cachable.}
%global golicenses LICENSE
%global godocs examples README.md
Name: %{goname}
Version: 0
Release: 0.8%{?dist}
Summary: Golang HTTP Cache-Control Parser and Interpretation
# Upstream license specification: Apache-2.0
License: ASL 2.0
URL: %{gourl}
Source0: %{gosource}
%if %{with check}
# Tests
BuildRequires: golang(github.com/stretchr/testify/require)
%endif
%description
%{common_description}
%gopkg
%prep
%goprep
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon May 13 01:15:38 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.5.20190513git1555304
- Bump to commit 1555304b9b35fdd2b425bccf1a5613677705e7d0
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4.git0923c70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.git0923c70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu May 17 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.0.2.20180517git0923c70
- Bump to upstream 0923c70de240c513ff98174aa10a783bdcf0560e
- Fixes Github issue #12
* Thu May 17 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.0.1.20180517gitfd225a
- First package for Fedora