# http://github.com/gonum/matrix %global goipath github.com/gonum/matrix %global commit fb1396264e2e259ff714a408a7b0142d238b198d %gometa Name: %{goname} Version: 0 Release: 0.11%{?dist} Summary: Matrix packages for the Go language Group: Development/Other License: BSD URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.yaml Patch0: add-license.patch Patch1: change-internal-to-inteernal.patch BuildArch: noarch %description %{summary} %package devel Summary: %{summary} BuildRequires: golang(github.com/gonum/blas) BuildRequires: golang(github.com/gonum/blas/blas64) BuildRequires: golang(github.com/gonum/blas/testblas) BuildRequires: golang(github.com/gonum/floats) BuildRequires: golang(github.com/gonum/inteernal/asm) BuildRequires: golang(github.com/gonum/lapack/lapack64) BuildRequires: golang(gopkg.in/check.v1) %description devel %{summary} This package contains library source intended for building other packages which use import path with %{goipath} prefix. %prep %gosetup cp %{SOURCE1} %{SOURCE2} . %patch0 -p1 %patch1 -p1 %install %goinstall glide.lock glide.yaml %check %ifarch ppc64le s390x %gochecks -d mat64 %else %gochecks %endif #define license tag if not already defined %{!?_licensedir:%global license %doc} %files devel -f devel.file-list %license LICENSE %doc README.md %changelog * Tue Nov 27 2018 pterjan <pterjan> 0-0.11.mga7 + Revision: 1336219 - imported package golang-github-gonum-matrix