diff --git a/golang-github-macaron-binding.spec b/golang-github-macaron-binding.spec index 5503692..b8a0678 100644 --- a/golang-github-macaron-binding.spec +++ b/golang-github-macaron-binding.spec @@ -1,51 +1,58 @@ -%global goipath github.com/go-macaron/binding -%global commit ac54ee249c27dca7e76fad851a4a04b73bd1b183 -Version: 0 +# 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} -Release: 0.1%{?dist} -Summary: Provides request data binding and validation for Macaron +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 -%{summary}. - - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel -%{summary}. - -This package contains library source intended for building other packages which -use import path with %{goipath} prefix. +%{common_description} +%gopkg %prep -%forgeautosetup -p1 - +%goprep %install -%goinstall - +%gopkginstall +%if %{with check} %check -%gochecks - - -%files devel -f devel.file-list -%doc README.md -%license LICENSE +%gocheck +%endif +%gopkgfiles %changelog +* Thu May 30 18:17:43 CEST 2019 Robert-André Mauchin - 0-0.2.20190325gitac54ee2 +- Update to new macros + * Mon Mar 25 2019 Nathan Scott - 0-0.1.20190325gitac54ee2 - First package for Fedora