# Generated by go2rpm
# tests are broken except when run in very specific ways
%bcond_with check
# https://github.com/mgutz/logxi
%global goipath github.com/mgutz/logxi
Version: 1
%gometa
%global common_description %{expand:
Log XI is a structured 12-factor app logger built for speed and happy
development.}
%global golicenses LICENSE
%global godocs README.md
Name: %{goname}
Release: 5%{?dist}
Summary: 12-factor app logger built for performance and happy development
License: MIT
URL: %{gourl}
Source0: %{gosource}
BuildRequires: golang(github.com/mattn/go-colorable)
BuildRequires: golang(github.com/mattn/go-isatty)
BuildRequires: golang(github.com/mgutz/ansi)
%if %{with check}
# Tests
BuildRequires: golang(github.com/stretchr/testify/assert)
%endif
%description
%{common_description}
%gopkg
%prep
%goprep
rm -rf Gododir
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
* Fri May 31 23:48:10 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1-5
- Update to new macros
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Oct 07 2017 Ed Marshall <esm@logic.net> - 1-1
- First package for Fedora