# Generated by go2rpm 1.10.0 %bcond_without check %global debug_package %{nil} # https://github.com/prometheus/common %global goipath github.com/prometheus/common Version: 0.50.0 %gometa -L %global common_description %{expand: This repository contains Go libraries that are shared across Prometheus components and libraries. - config: Common configuration structures - expfmt: Decoding and encoding for the exposition format - log: A logging wrapper around logrus - model: Shared data structures - route: A routing wrapper around httprouter using context.Context - version: Version information and metrics} %global golicenses LICENSE NOTICE %global godocs CONTRIBUTING.md MAINTAINERS.md README.md Name: golang-github-prometheus-common Release: %autorelease Summary: Go libraries shared across Prometheus components and libraries License: Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{without bootstrap} %if %{with check} %check # Go 1.18 deprecated SHA1-RSA export GODEBUG=x509sha1=1 %gocheck %endif %endif %gopkgfiles %changelog %autochangelog