# golang-github-hashicorp-retryablehttp.spec # Generated by go2rpm %bcond_without check # https://github.com/hashicorp/go-retryablehttp %global goipath github.com/hashicorp/go-retryablehttp Version: 0.5.3 %gometa %global common_description %{expand: The Retryablehttp package provides a familiar HTTP client interface with automatic retries and exponential backoff. It is a thin wrapper over the standard net/http client library and exposes nearly the same public API. This makes retryablehttp very easy to drop into existing programs.} %global golicenses LICENSE %global godocs README.md %global gosupfiles glide.lock glide.yaml Name: %{goname} Release: 2%{?dist} Summary: Retryable http client in go # Upstream license specification: MPL-2.0 License: MPLv2.0 URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock BuildRequires: golang(github.com/hashicorp/go-cleanhttp) %description %{common_description} %gopkg %prep %goprep cp %{S:1} %{S:2} . %install %gopkginstall # Remove in F33 # Remove erroneous glide.lock folder %pretrans devel -p path = "%{gopath}/src/%{goipath}/glide.lock" st = posix.stat(path) if st and st.type == "directory" then os.remove(path) end %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Apr 17 16:28:14 CEST 2019 Robert-André Mauchin - 0.5.3-2 - Update to new macros * Tue Mar 26 17:46:41 CET 2019 Robert-André Mauchin - 0.5.3-1 - Release 0.5.3 (#1669775) * Fri Feb 01 2019 Fedora Release Engineering - 0-0.9.git6e85be8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 23 2018 Nicolas Mailhot - 0-0.8.git6e85be8 - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ * Fri Jul 13 2018 Fedora Release Engineering - 0-0.7.git6e85be8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 12 2018 Jan Chaloupka - 0-0.6.git6e85be8 - Upload glide files * Wed Feb 28 2018 Jan Chaloupka - 0-0.5.20161130git6e85be8 - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 0-0.4.git6e85be8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.3.git6e85be8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.2.git6e85be8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jan 05 2017 Jan Chaloupka - 0-0.1.git6e85be8 - First package for Fedora resolves: #1410392