## 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

## START: Set by rpmautospec
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
    release_number = 2;
    base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
    print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
## END: Set by rpmautospec

# Generated by go2rpm 1.5.0
%bcond_without check

# https://github.com/scaleway/scaleway-sdk-go
%global goipath         github.com/scaleway/scaleway-sdk-go
Version:                1.0.0~beta.7
%global commit          4a4c6998928ba86cb7d2b7a6c33cd020d142f8f5

%gometa

%global common_description %{expand:
Integrate Scaleway with your Go application.}

%global golicenses      LICENSE
%global godocs          docs CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md\\\
                        MAINTAINERS.md README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Integrate Scaleway with your Go application

# Upstream license specification: Apache-2.0
License:        ASL 2.0
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/dnaeon/go-vcr/cassette)
BuildRequires:  golang(github.com/dnaeon/go-vcr/recorder)
BuildRequires:  golang(gopkg.in/yaml.v2)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Sat Jul 31 2021 Robert-André Mauchin <zebob.m@gmail.com> 1.0.0~beta.7-2
- Uncommitted changes

* Sat Jul 31 2021 Robert-André Mauchin <zebob.m@gmail.com> 1.0.0~beta.7-1
- Initial release