# Generated by go2rpm %bcond_without check # https://github.com/go-macaron/macaron %global goipath gopkg.in/macaron.v1 %global forgeurl https://github.com/go-macaron/macaron Version: 1.4.0 %gometa %global goaltipaths github.com/go-macaron/macaron %global common_description %{expand: Package Macaron is a high productive and modular web framework in Go.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: High productive and modular web framework in Go # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-gopkg-macaron-1 = %{version}-%{release} Obsoletes: golang-gopkg-macaron-1 < 1.4.0-9 %global godevelheader %{expand: Provides: golang-gopkg-macaron-1-devel = %{version}-%{release} Obsoletes: golang-gopkg-macaron-1-devel < 1.4.0-9} BuildRequires: golang(github.com/go-macaron/inject) BuildRequires: golang(github.com/unknwon/com) BuildRequires: golang(golang.org/x/crypto/pbkdf2) BuildRequires: golang(gopkg.in/ini.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 %autochangelog