# Generated by go2rpm %bcond_without check # https://github.com/oracle/oci-go-sdk %global goipath github.com/oracle/oci-go-sdk-24 %global forgeurl https://github.com/oracle/oci-go-sdk Version: 24.3.0 %gometa %global goaltipaths github.com/oracle/oci-go-sdk/v24 %global common_description %{expand: This is the Go SDK for Oracle Cloud Infrastructure. This project is open source and maintained by Oracle Corp.} %global golicenses LICENSE.txt %global godocs example CHANGELOG.md CONTRIBUTING.md README.md Name: %{goname} Release: 6%{?dist} Summary: Go SDK for Oracle Cloud Infrastructure License: UPL or ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/fnproject/fdk-go) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/mock) %endif %description %{common_description} %gopkg %prep %goprep sed -i "s|github.com/oracle/oci-go-sdk|github.com/oracle/oci-go-sdk-24|" $(find . -name "*.go" -type f) %install %gopkginstall %if %{with check} %check %gocheck -t cmd -d objectstorage/transfer %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering - 24.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 24.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 24.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 24.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 24.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Dec 06 07:50:39 CET 2020 Robert-André Mauchin - 24.3.0-1 - Initial package