## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %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.14.0 %bcond check 1 %bcond bootstrap 0 %global debug_package %{nil} # https://github.com/golang/telemetry %global goipath golang.org/x/telemetry %global forgeurl https://github.com/golang/telemetry # https://bugzilla.redhat.com/show_bug.cgi?id=2269916 Epoch: 1 Version: 0 %global commit 1b7b43a8aaf29e66f494d5b816bc840ce24358fc %gometa -L -f %global common_description %{expand: Go Telemetry services and libraries.} %global golicenses LICENSE PATENTS %global godocs README.md Name: golang-x-telemetry Release: %autorelease Summary: Go Telemetry services and libraries License: BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check for test in "TestDownload" \ "TestStart" \ "TestConcurrentStart" \ "TestDates" \ "TestRun_Basic" \ "TestRun_Retries" \ "TestRun_MultipleUploads" \ "TestRun_EmptyUpload" \ "TestRun_MissingDate" \ "TestRun_ModeHandling" \ "TestRun_DebugLog" \ "TestRun_Concurrent"; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Thu Jul 24 2025 Fedora Release Engineering - 1:0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri Jan 17 2025 Fedora Release Engineering - 1:0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Sep 27 2024 Alejandro Sáez - 1:0-4 - Update package * Tue Aug 13 2024 Alejandro Sáez - 1:0-3 - Remove .packit.yml * Thu Jul 18 2024 Fedora Release Engineering - 1:0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 23 2024 Robert-André Mauchin - 1:0-1 - Bump to commit a740542b267ceecf63fa5d4014978e336ffdb1b9 * Thu Mar 07 2024 Alejandro Sáez - 0.16.0-2 - Add Packit support * Thu Mar 07 2024 Alejandro Sáez - 0.16.0-1 - Initial import (fedora#2268192) ## END: Generated by rpmautospec