# Generated by go2rpm %bcond_without check # https://github.com/hailocab/go-hostpool %global goipath github.com/hailocab/go-hostpool %global commit e80d13ce29ede4452c43dea11e79b9bc8a15b478 %gometa %global common_description %{expand: A Go package to intelligently and flexibly pool among multiple hosts from your Go application. Host selection can operate in round robin or epsilon greedy mode, and unresponsive hosts are avoided.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.5%{?dist} Summary: Intelligently and flexibly pool among multiple hosts from your go application License: MIT URL: %{gourl} Source0: %{gosource} # Fix import path Patch0: go-hostpool-test.patch %if %{with check} # Tests BuildRequires: golang(github.com/bmizerany/assert) %endif %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue Apr 30 02:12:26 CEST 2019 Robert-André Mauchin - 0-0.5.20160125gite80d13c - Update to new macros * Fri Feb 01 2019 Fedora Release Engineering - 0-0.4.20160125gite80d13c - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0-0.3.20160125gite80d13c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0-0.2.20160125gite80d13c - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Oct 04 2017 Ed Marshall - 0-0.1.20160125gite80d13c - First package for Fedora