## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; 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 1 # Requires a running Elasticsearch instance %bcond_with check # https://github.com/olivere/elastic %global gourl https://gopkg.in/olivere/elastic.v5 %global goipath gopkg.in/olivere/elastic.v5 %global forgeurl https://github.com/olivere/elastic Version: 5.0.86 %gometa %global common_description %{expand: Elasticsearch 5 client for Go.} %global golicenses LICENSE LICENSE-uritemplates %global godocs CONTRIBUTING.md CODE_OF_CONDUCT.md\\\ CONTRIBUTORS README.md CHANGELOG-3.0.md\\\ CHANGELOG-5.0.md README-cluster-test.md Name: %{goname} Release: %autorelease Summary: Elasticsearch 5 client for Go License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/aws/aws-sdk-go/aws/credentials) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/signer/v4) BuildRequires: golang(github.com/google/uuid) BuildRequires: golang(github.com/mailru/easyjson) BuildRequires: golang(github.com/olivere/env) BuildRequires: golang(github.com/opentracing/opentracing-go) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(github.com/smartystreets/go-aws-auth) BuildRequires: golang(github.com/uber/jaeger-client-go/config) BuildRequires: golang(github.com/uber/jaeger-client-go/log) BuildRequires: golang(github.com/uber/jaeger-lib/metrics/expvar) BuildRequires: golang(go.opencensus.io/trace) BuildRequires: golang(golang.org/x/sync/errgroup) %if %{with check} # Tests BuildRequires: golang(github.com/fortytw2/leaktest) BuildRequires: golang(github.com/google/go-cmp/cmp) BuildRequires: golang(github.com/opentracing/opentracing-go/mocktracer) %endif %description %{common_description} %gopkg %prep %goprep mv %{_builddir}/elastic-%{version}/uritemplates/LICENSE LICENSE-uritemplates mv %{_builddir}/elastic-%{version}/cluster-test/README.md README-cluster-test.md %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 5.0.86-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 5.0.86-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Aug 29 2021 Fabian Affolter 5.0.86-4 - Migrate to rpmautospec * Thu Jul 22 2021 Fedora Release Engineering 5.0.86-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering 5.0.86-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Dec 04 2020 Fabian Affolter 5.0.86-1 - * Fri Dec 04 2020 Fabian Affolter - 5.0.86-1 - Update to latest upstream release 5.0.86 * Wed Aug 19 2020 Fabian Affolter 5.0.84-1 - * Tue Apr 07 2020 Fabian Affolter - 5.0.84-1 - Initial package