# 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-24/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: 2%{?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 * Mon Dec 07 05:30:34 CET 2020 Robert-André Mauchin - 24.3.0-2 - Fix import path * Sun Dec 06 07:50:39 CET 2020 Robert-André Mauchin - 24.3.0-1 - Initial package