## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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.9.0 %bcond_without check %bcond_with bootstrap %global debug_package %{nil} %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/open-telemetry/opentelemetry-go-contrib %global goipath go.opentelemetry.io/contrib %global forgeurl https://github.com/open-telemetry/opentelemetry-go-contrib Version: 1.18.0 %gometa %global common_description %{expand: Collection of extensions for OpenTelemetry-Go.} %global golicenses LICENSE %global godocs README.md RELEASING.md CHANGELOG.md CONTRIBUTING.md Name: %{goname} Release: %autorelease Summary: Collection of extensions for OpenTelemetry-Go License: Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 rm -rfv instrumentation/github.com/astaxie/beego/ # examples are not packaged rm -rvf propagators/opencensus/examples # drop until github.com/GoogleCloudPlatform/opentelemetry-operations-go is packaged rm -rvf detectors/gcp %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check for test in "TestInstrumentation" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck -t instrumentation %endif %endif %gopkgfiles %changelog * Sun Sep 24 2023 Robert-André Mauchin - 1.18.0-2 - Uncommitted changes * Sun Sep 24 2023 Robert-André Mauchin - 1.18.0-1 - Update to 1.18.0 * Thu Jul 20 2023 Fedora Release Engineering - 1.10.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Oct 09 2022 Robert-André Mauchin - 1.10.0-3 - Remove astaxie/beego * Sun Oct 09 2022 Robert-André Mauchin - 1.10.0-2 - Unbootstrap * Sun Sep 25 2022 Robert-André Mauchin - 1.10.0-1 - Update to 1.10.0 * Sun Jan 30 2022 Robert-André Mauchin 1.3.0-2 - Uncommitted changes * Sun Jan 30 2022 Robert-André Mauchin 1.3.0-1 - Initial release