5671ef0
%global goipath github.com/oracle/oci-go-sdk
5671ef0
Version:        5.4.0
5671ef0
%gometa
5671ef0
5671ef0
%global common_description %{expand:
5671ef0
This is the Go SDK for Oracle Cloud Infrastructure. This project is open source
5671ef0
and maintained by Oracle Corp.}
5671ef0
5671ef0
Name:           %{goname}
5671ef0
Release:        1%{?dist}
5671ef0
Summary:        Go SDK for Oracle Cloud Infrastructure
5671ef0
License:        UPL or ASL 2.0
5671ef0
URL:            %{gourl}
5671ef0
Source0:        %{gosource}
5671ef0
5671ef0
BuildRequires:  golang(github.com/stretchr/testify/assert)
5671ef0
BuildRequires:  golang(github.com/stretchr/testify/mock)
5671ef0
5671ef0
5671ef0
%description
5671ef0
%{common_description}
5671ef0
5671ef0
5671ef0
%package devel
5671ef0
Summary:        %{summary}
5671ef0
BuildArch:      noarch
5671ef0
5671ef0
5671ef0
%description devel
5671ef0
%{common_description}
5671ef0
5671ef0
This package contains the source code needed for building packages that import
5671ef0
the %{goipath} Go namespace.
5671ef0
5671ef0
5671ef0
%prep
5671ef0
%forgeautosetup
5671ef0
5671ef0
5671ef0
%install
5671ef0
# upstream has a versioning tool that is not useful for us
5671ef0
%goinstall -t cmd
5671ef0
5671ef0
5671ef0
%check
5671ef0
%gochecks
5671ef0
5671ef0
5671ef0
%files devel -f devel.file-list
5671ef0
%license LICENSE.txt
5671ef0
%doc README.md CHANGELOG.md
5671ef0
5671ef0
5671ef0
%changelog
5671ef0
* Wed Apr 17 2019 Carl George <carl@george.computer> - 5.4.0-1
5671ef0
- Initial package