# Generated by go2rpm 1.6.0 %bcond_without check %global debug_package %{nil} # https://github.com/op/go-logging %global goipath gopkg.in/op/go-logging.v1 %global forgeurl https://github.com/op/go-logging Version: 1 %gometa %global common_description %{expand: Package logging implements a logging infrastructure for Go. Its output format is customizable and supports different logging backends like syslog, file and memory. Multiple backends can be utilized with different log levels per backend and logger.} %global golicenses LICENSE %global godocs examples CONTRIBUTORS README.md Name: %{goname} Release: %autorelease Summary: Golang logging library # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source: %{gosource} # https://github.com/op/go-logging/pull/133 Patch: 0001-Fix-function-name-query-for-callpath.patch # Remove in F43 Provides: golang-gopkg-op-logging-1 = %{version}-%{release} Obsoletes: golang-gopkg-op-logging-1 < 1-5 %global godevelheader %{expand: Provides: golang-gopkg-op-logging-1-devel = %{version}-%{release} Obsoletes: golang-gopkg-op-logging-1-devel < 1-5} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog