## 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
%bcond_without check

# https://github.com/moul/http2curl
%global goipath         moul.io/http2curl
%global forgeurl        https://github.com/moul/http2curl
Version:                2.3.0

%gometa

%global common_description %{expand:
Convert Golang's http.Request to curl commands.}

%global golicenses      LICENSE-APACHE LICENSE-MIT COPYRIGHT
%global godocs          README.md AUTHORS

Name:           %{goname}
Release:        %autorelease
Summary:        Convert Golang's http.Request to curl commands

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

%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> 2.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Fri Mar 25 2022 Fabian Affolter <mail@fabian-affolter.ch> 2.3.0-1
- Update to latest upstream release 2.3.0 (closes rhbz#2063582)

* Tue Jan 25 2022 Fabian Affolter <mail@fabian-affolter.ch> 2.2.6-1
- Update to latest upstream release 2.2.6 (closes rhbz#2036200)

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

* Mon Sep 20 2021 Fabian Affolter <mail@fabian-affolter.ch> 2.2.4-1
- Update to latest upstream release 2.2.4 (closes rhbz#2005882)

* Wed Aug 25 2021 Fabian Affolter <mail@fabian-affolter.ch> 2.2.3-1
- * Wed Aug 25 2021 Fabian Affolter <mail@fabian-affolter.ch> - 2.2.3-1 -
  Update to latest upstream release 2.2.3 (rhbz#1997834)

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

* Sun May 30 2021 Fabian Affolter <mail@fabian-affolter.ch> 2.2.2-1
- * Sun May 30 2021 Fabian Affolter <mail@fabian-affolter.ch> - 2.2.2-1 -
  Update to latest upstream release 2.2.2

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

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

* Sun Jun 28 2020 Fabian Affolter <mail@fabian-affolter.ch> 2.2.0-1
- * Fri Apr 10 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.2.0-1 -
  Initial package