# https://github.com/rifflock/lfshook %global goipath github.com/rifflock/lfshook Version: 2.4 %gometa %global golicenses LICENSE Name: %{goname} Release: 1%{?dist} Summary: A local file system hook for golang logrus logger License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/sirupsen/logrus) Requires: golang(github.com/sirupsen/logrus) %description Sometimes developers like to write directly to a file on the filesystem. This is a hook for logrus which designed to allow users to do that. The log levels are dynamic at instantiation of the hook, so it is capable of logging at some or all levels. %gopkg %prep %goprep %install %godevelinstall %check %gocheck %gopkgfiles %changelog * Sun May 9 18:35:45 CET 2021 Antoine Damhet - 2.4-1 - First package for Fedora