Blob Blame Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/oracle/oci-go-sdk
%global goipath         github.com/oracle/oci-go-sdk
Version:                5.9.0

%gometa

%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}

%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

%install
%gopkginstall

%if %{with check}
%check
%gocheck -t cmd -d objectstorage/transfer
%endif

%gopkgfiles

%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Wed Jun 05 00:33:56 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 5.9.0-2
- Release 5.9.0

* Wed Apr 17 2019 Carl George <carl@george.computer> - 5.4.0-1
- Initial package