# Generated by go2rpm 1.8.1 %bcond_without check %global debug_package %{nil} # https://github.com/rexray/gocsi %global goipath github.com/rexray/gocsi Version: 1.2.2 %gometa -f %global common_description %{expand: A Container Storage Interface (CSI) library, client, and other helpful utilities created with Go.} %global golicenses LICENSE %global godocs CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: Container Storage Interface (CSI) library, client, and other helpful utilities License: Apache-2.0 URL: %{gourl} Source: %{gosource} Patch0: https://patch-diff.githubusercontent.com/raw/rexray/gocsi/pull/155.patch %description %{common_description} %gopkg %prep %goprep %patch0 -p1 sed -i "s|github.com/coreos/etcd/clientv3|go.etcd.io/etcd/client/v3|" $(find . -iname "*.go" -type f) %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog