## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm %bcond_without check %bcond_without bootstrap # https://github.com/go-kit/kit %global goipath github.com/go-kit/kit Version: 0.11.0 %gometa %global goipaths0 github.com/go-kit/kit %global goipathsex0 github.com/go-kit/kit/sd/etcd github.com/go-kit/kit/sd/etcdv3 %if %{without bootstrap} %global goipaths1 github.com/go-kit/kit/sd/etcd github.com/go-kit/kit/sd/etcdv3 %endif %global common_description %{expand: Go kit is a programming toolkit for building microservices (or elegant monoliths) in Go. We solve common problems in distributed systems and application architecture so you can focus on delivering business value.} %global golicenses LICENSE log/term/LICENSE %global godocs examples CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: Standard library for microservices License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/afex/hystrix-go/hystrix) BuildRequires: golang(github.com/aws/aws-sdk-go-v2/aws) BuildRequires: golang(github.com/aws/aws-sdk-go-v2/service/cloudwatch) BuildRequires: golang(github.com/aws/aws-sdk-go-v2/service/cloudwatch/types) BuildRequires: golang(github.com/aws/aws-sdk-go/aws) BuildRequires: golang(github.com/aws/aws-sdk-go/service/cloudwatch) BuildRequires: golang(github.com/aws/aws-sdk-go/service/cloudwatch/cloudwatchiface) BuildRequires: golang(github.com/casbin/casbin/v2) BuildRequires: golang(github.com/dgrijalva/jwt-go) BuildRequires: golang(github.com/go-logfmt/logfmt) BuildRequires: golang(github.com/go-zookeeper/zk) BuildRequires: golang(github.com/hashicorp/consul/api) BuildRequires: golang(github.com/hudl/fargo) BuildRequires: golang(github.com/influxdata/influxdb1-client/v2) BuildRequires: golang(github.com/nats-io/nats.go) BuildRequires: golang(github.com/opentracing/opentracing-go) BuildRequires: golang(github.com/opentracing/opentracing-go/ext) BuildRequires: golang(github.com/opentracing/opentracing-go/log) BuildRequires: golang(github.com/openzipkin/zipkin-go) BuildRequires: golang(github.com/openzipkin/zipkin-go/model) BuildRequires: golang(github.com/openzipkin/zipkin-go/propagation/b3) BuildRequires: golang(github.com/performancecopilot/speed) BuildRequires: golang(github.com/prometheus/client_golang/prometheus) BuildRequires: golang(github.com/sirupsen/logrus) BuildRequires: golang(github.com/sony/gobreaker) BuildRequires: golang(github.com/streadway/amqp) BuildRequires: golang(github.com/streadway/handy/breaker) BuildRequires: golang(github.com/VividCortex/gohistogram) %if %{without bootstrap} BuildRequires: golang(go.etcd.io/etcd/client/pkg/v3/transport) BuildRequires: golang(go.etcd.io/etcd/client/v2) BuildRequires: golang(go.etcd.io/etcd/client/v3) %endif BuildRequires: golang(go.opencensus.io/plugin/ochttp) BuildRequires: golang(go.opencensus.io/plugin/ochttp/propagation/b3) BuildRequires: golang(go.opencensus.io/trace) BuildRequires: golang(go.opencensus.io/trace/propagation) BuildRequires: golang(go.uber.org/zap) BuildRequires: golang(go.uber.org/zap/zapcore) BuildRequires: golang(golang.org/x/sync/errgroup) BuildRequires: golang(google.golang.org/grpc) BuildRequires: golang(google.golang.org/grpc/codes) BuildRequires: golang(google.golang.org/grpc/metadata) BuildRequires: golang(google.golang.org/grpc/status) BuildRequires: golang(google.golang.org/protobuf/proto) %if %{with check} # Tests BuildRequires: golang(github.com/casbin/casbin/v2/model) BuildRequires: golang(github.com/casbin/casbin/v2/persist/file-adapter) BuildRequires: golang(github.com/prometheus/client_golang/prometheus/promhttp) BuildRequires: golang(google.golang.org/protobuf/reflect/protoreflect) BuildRequires: golang(google.golang.org/protobuf/runtime/protoimpl) %endif %description %{common_description} %gopkg %prep %goprep %if %{without bootstrap} %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %endif %install %gopkginstall %if %{without bootstrap} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %endif %if %{without bootstrap} %if %{with check} %check %gocheck -t metrics %endif %endif %if %{without bootstrap} %files %license %{golicenses} %doc %{godocs} %{_bindir}/* %endif %gopkgfiles %changelog * Wed Aug 10 2022 Maxwell G 0.11.0-5 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering 0.11.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 0.11.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Aug 09 2021 Robert-André Mauchin 0.11.0-2 - Rework the bootstrapping * Mon Aug 09 2021 Robert-André Mauchin 0.11.0-1 - Update to 0.11.0 Close: rhbz#1979088 * Thu Jul 22 2021 Fedora Release Engineering - 0.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 15 22:41:38 CET 2021 Robert-André Mauchin - 0.10.0-2 - Use compatibility for github.com/aws/aws-sdk-go-v2-0.24 * Mon Aug 10 04:16:30 CEST 2020 Robert-André Mauchin - 0.10.0-1 - Update to 0.10.0 * Sat Aug 01 2020 Fedora Release Engineering - 0.8.0-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Apr 18 18:53:04 CEST 2019 Robert-André Mauchin - 0.8.0-1 - Initial package