# Generated by go2rpm
%global debug_package %{nil}
%ifnarch s390x %{ix86} %{arm}
%bcond_without check
%endif

# https://github.com/gin-gonic/gin
%global goipath         github.com/gin-gonic/gin
Version:                1.8.2

%gometa

%global common_description %{expand:
Gin is a web framework written in Go. It features a martini-like API with much
better performance, up to 40 times faster thanks to httprouter. If you need
performance and good productivity, you will love Gin.}

%global golicenses      LICENSE
%global godocs          examples AUTHORS.md BENCHMARKS.md CHANGELOG.md\\\
                        CODE_OF_CONDUCT.md CONTRIBUTING.md README.md

Name:           %{goname}
Release:        1%{?dist}
Summary:        HTTP web framework written in Go

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


%description
%{common_description}


%gopkg


%prep
%goprep


%generate_buildrequires
%go_generate_buildrequires


%install
%gopkginstall


%if %{with check}
%check
rm context_1.17_test.go
%gocheck -d render
%endif


%gopkgfiles


%changelog
* Wed Jan 11 2023 Maxwell G <gotmax@e.email> - 1.8.2-1
- Update to 1.8.2. Fixes rhbz#1947355.

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

* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Thu Aug 13 23:52:31 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.6.3-1
- Update to 1.6.3

* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Tue Apr 30 14:45:15 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.0-1
- Initial package