## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 %global debug_package %{nil} # https://github.com/Azure/azure-sdk-for-go %global goipath github.com/Azure/azure-sdk-for-go/sdk/internal Version: 1.3.0 %global tag sdk/internal/v1.3.0 %global distprefix %{nil} %gometa -f %global common_description %{expand: Azure SDK for Go - internal library.} %global golicenses NOTICE.txt LICENSE.txt sdk/internal/LICENSE.txt %global godocs CODE_OF_CONDUCT.md CONTRIBUTING.md SUPPORT.md\\\ SECURITY.md README.md sdk/internal/CHANGELOG.md \\\ sdk/internal/README.md Name: %{goname} Release: %autorelease Summary: Azure SDK for Go - internal library License: MIT URL: %{gourl} Source: %{gosource} # https://github.com/Azure/azure-sdk-for-go/pull/21277 Patch: 21277.patch %description %{common_description} %gopkg %prep %goprep %autopatch -p1 # move building library to the root to match goipath mv sdk/internal/* . rm -rf .github documentation eng profile sdk %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check for test in "TestRecordingHTTPClient_Do" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck -d recording %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Wed Jan 24 2024 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 27 2023 Mikel Olasagasti Uranga - 1.3.0-2 - Patch to fix test with golang rc - Closes rhbz#2216264 * Thu Jul 27 2023 Mikel Olasagasti Uranga - 1.3.0-1 - Initial package - Closes rhbz#2216264 ## END: Generated by rpmautospec