## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # 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 %if 0%{?__isa_bits} == 32 %gocheck -d mock/provider -d mock/service -d utils %else %gocheck %endif %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering 1.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Oct 22 2022 Robert-André Mauchin 1.2.2-2 - Disable some tests on 32 bits arches * Fri Oct 21 2022 Robert-André Mauchin 1.2.2-1 - Initial import