## START: Set by rpmautospec
## (rpmautospec version 0.3.0)
%define autorelease(e:s:pb:n) %{?-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*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec

# Generated by go2rpm 1.8.2
%bcond_without check
%global debug_package %{nil}

# https://github.com/sagikazarmark/crypt
%global goipath         github.com/sagikazarmark/crypt
Version:                0.9.0

%gometa

%global common_description %{expand:
Store and retrieve encrypted configs from etcd or consul.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Store and retrieve encrypted configs from etcd or consul

License:        MIT
URL:            %{gourl}
Source:         %{gosource}

%description %{common_description}

%gopkg

%prep
%goprep

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> 0.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Sat Jan 14 2023 Mikel Olasagasti Uranga <mikel@olasagasti.info> 0.9.0-1
- Update to 0.9.0 - Closes rhbz#2160903

* Sun Nov 20 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> 0.8.0-2
- Add BR on semver for F37 & F36

* Sun Nov 20 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> 0.8.0-1
- Update to 0.8.0 - Closes rhbz#2130725

* Wed Aug 10 2022 Maxwell G <gotmax@e.email> 0.6.0-3
- Rebuild to fix FTBFS

* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> 0.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Fri May 27 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> 0.6.0-1
- Update to 0.6.0 - Closes rhbz#2091010

* Wed Apr 13 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> 0.5.0-1
- Update to 0.5.0 - Closes rhbz#2074967

* Thu Jan 27 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> 0.4.0-1
- Initial commit - Closes rhbz#2046287