## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %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.6.0 %bcond_without check %global debug_package %{nil} # https://github.com/getsentry/sentry-go %global goipath github.com/getsentry/sentry-go Version: 0.13.0 %gometa %global common_description %{expand: Official Sentry SDK for Go.} %global golicenses LICENSE %global godocs example CONTRIBUTING.md MIGRATION.md CHANGELOG.md\\\ README.md Name: %{goname} Release: %autorelease Summary: Official Sentry SDK for Go License: BSD-2-Clause URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep # To avoid packaging golang-github-kataras-iris-12 rm -rfv iris example/iris %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check export SENTRY_RELEASE=%{version} for test in "TestStartSpan" \ "TestStartChild" \ "TestIntegration" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Aug 01 2022 Robert-André Mauchin 0.13.0-1 - Initial import