# Generated by go2rpm %bcond_without check # https://github.com/docker/go-metrics %global goipath github.com/docker/go-metrics %global commit b84716841b82eab644a0c64fc8b42d480e49add5 %gometa %global common_description %{expand: This package is small wrapper around the prometheus Go client to help enforce convention and best practices for metrics collection in Docker projects.} %global golicenses LICENSE LICENSE.docs NOTICE %global godocs CONTRIBUTING.md README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Metrics collection in Docker projects # Upstream license specification: CC-BY-SA-4.0 and Apache-2.0 License: CC-BY-SA and ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/prometheus/client_golang/prometheus) BuildRequires: golang(github.com/prometheus/client_golang/prometheus/promhttp) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri May 03 18:56:57 CEST 2019 Robert-André Mauchin - 0-0.1.20190503gitb847168 - Initial package