Blob Blame Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/go-macaron/binding
%global goipath         github.com/go-macaron/binding
%global commit          ac54ee249c27dca7e76fad851a4a04b73bd1b183

%gometa

%global common_description %{expand:
Package Binding is a middleware that provides request data binding and
validation for Macaron.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Version:        0
Release:        0.2%{?dist}
Summary:        Middleware that provides request data binding and validation for Macaron

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

BuildRequires:  golang(github.com/Unknwon/com)
BuildRequires:  golang(gopkg.in/macaron.v1)

%if %{with check}
# Tests
BuildRequires:  golang(github.com/smartystreets/goconvey/convey)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Thu May 30 18:17:43 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.2.20190325gitac54ee2
- Update to new macros

* Mon Mar 25 2019 Nathan Scott <nathans@redhat.com> - 0-0.1.20190325gitac54ee2
- First package for Fedora