# Generated by go2rpm 1
# https://github.com/h2non/gock/issues/80
%bcond_with check

# https://github.com/h2non/gock
%global goipath         gopkg.in/h2non/gock.v1
%global forgeurl        https://github.com/h2non/gock
Version:                1.0.16

%gometa

%global goaltipaths     github.com/h2non/gock

%global common_description %{expand:
Versatile HTTP mocking made easy in Go for net/http stdlib package.}

%global golicenses      LICENSE
%global godocs          _examples History.md README.md

Name:           %{goname}
Release:        5%{?dist}
Summary:        Expressive HTTP traffic mocking and testing made easy in Go

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

BuildRequires:  golang(github.com/h2non/parth)

%if %{with check}
# Tests
BuildRequires:  golang(github.com/nbio/st)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

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

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

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

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

* Fri Jan 22 17:59:02 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.16-1
- Update to 1.0.16

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

* Sun Jan 26 19:39:57 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.15-1
- Update to 1.0.15

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

* Thu May 02 16:40:09 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.14-1
- Initial package