## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %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 1.7.0 %bcond_without check %global debug_package %{nil} # https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver %global goipath contrib.go.opencensus.io/exporter/stackdriver %global forgeurl https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver Version: 0.13.13 %gometa %global common_description %{expand: Package stackdriver contains the OpenCensus exporters for Stackdriver Monitoring and Stackdriver Tracing. This exporter can be used to send metrics to Stackdriver Monitoring and traces to Stackdriver trace.} %global golicenses LICENSE %global godocs examples AUTHORS CONTRIBUTING.md README.md\\\ RESOURCE.md Name: %{goname} Release: %autorelease Summary: OpenCensus Go exporter for Stackdriver Monitoring and Trace License: Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check for test in "TestSendReqAndParseDropped" \ "TestUserAgent" \ "TestExporter_makeReq_withCustomMonitoredResource" \ "TestVariousCasesFromFile" \ "TestMetricsWithPrefix" \ "TestMetricsWithPrefixWithDomain" \ "TestBuiltInMetricsUsingPrefix" \ "TestMetricsWithResourcePerPushCall" \ "TestMetricsWithResourcePerMetric" \ "TestMetricsWithResourcePerMetricTakesPrecedence" \ "TestMetricsWithResourceWithMissingFieldsPerPushCall" \ "TestExportMaxTSPerRequest" \ "TestExportMaxTSPerRequestAcrossTwoMetrics" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog * Thu Jul 20 2023 Fedora Release Engineering - 0.13.13-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.13.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Aug 10 2022 Maxwell G - 0.13.13-3 - Rebuild to fix FTBFS * Wed Aug 10 2022 Maxwell G - 0.13.13-2 - Rebuild to fix FTBFS * Sun Aug 07 2022 Robert-André Mauchin - 0.13.13-1 - Update to 0.13.3 - Close: rhbz#1971099 rhbz#2113261 * Thu Jul 21 2022 Fedora Release Engineering - 0.13.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Robert-André Mauchin - 0.13.6-5 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Thu Jan 20 2022 Fedora Release Engineering - 0.13.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.13.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 30 12:12:44 CEST 2021 Robert-André Mauchin - 0.13.6-2 - Update to 0.13.6 - Close: rhbz#1921492? * Tue Jan 26 2021 Fedora Release Engineering - 0.13.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Dec 15 00:56:57 CET 2020 Robert-André Mauchin - 0.13.4-1 - Update to 0.13.4 - Close: rhbz#1869206 * Mon Jul 27 2020 Fedora Release Engineering - 0.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 22 21:38:06 CEST 2020 Robert-André Mauchin - 0.13.2-1 - Update to 0.13.2 * Tue Jan 28 2020 Fedora Release Engineering - 0.12.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Dec 29 19:31:30 CET 2019 Robert-André Mauchin - 0.12.8-1 - Update to 0.12.8 (#1742117) * Thu Jul 25 2019 Fedora Release Engineering - 0.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue May 07 09:00:47 CEST 2019 Robert-André Mauchin - 0.11.0-1 - Initial package