# Generated by go2rpm # https://github.com/chzyer/logex/issues/4 %bcond_with check # https://github.com/chzyer/logex %global goipath gopkg.in/logex.v1 %global forgeurl https://github.com/chzyer/logex Version: 1.1.10 %gometa %global goaltipaths github.com/chzyer/logex %global common_description %{expand: A Golang log library, supports tracking and level, wrap by standard log lib.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Log library, supports tracking and level, wrap by standard log lib License: MIT URL: %{gourl} Source0: %{gosource} Source1: https://raw.githubusercontent.com/chzyer/logex/master/LICENSE # Remove in F43 Provides: golang-gopkg-logex-1 = %{version}-%{release} Obsoletes: golang-gopkg-logex-1 < 1.1.10-20 %global godevelheader %{expand: Provides: golang-gopkg-logex-1-devel = %{version}-%{release} Obsoletes: golang-gopkg-logex-1-devel < 1.1.10-20} %description %{common_description} %gopkg %prep %goprep cp %{S:1} . %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog