Blame golang-github-rs-zerolog.spec

152cd81
# Generated by go2rpm
3d99e39
# https://github.com/rs/zerolog/issues/163
3d99e39
%ifnarch %{ix86} %{arm}
152cd81
%bcond_without check
3d99e39
%endif
152cd81
152cd81
# https://github.com/rs/zerolog
152cd81
%global goipath         github.com/rs/zerolog
64e984d
Version:                1.20.0
152cd81
152cd81
%gometa
152cd81
152cd81
%global common_description %{expand:
152cd81
The Zerolog package provides a fast and simple logger dedicated to JSON output.
152cd81
152cd81
Zerolog's API is designed to provide both a great developer experience and
152cd81
stunning performance. Its unique chaining API allows zerolog to write JSON (or
152cd81
CBOR) log events by avoiding allocations and reflection.
152cd81
152cd81
Uber's zap library pioneered this approach. Zerolog is taking this concept to
152cd81
the next level with a simpler to use API and even better performance.}
152cd81
152cd81
%global golicenses      LICENSE
152cd81
%global godocs          README.md
152cd81
152cd81
Name:           %{goname}
bd90579
Release:        1%{?dist}
152cd81
Summary:        Zero allocation JSON logger
152cd81
152cd81
License:        MIT
152cd81
URL:            %{gourl}
152cd81
Source0:        %{gosource}
152cd81
152cd81
BuildRequires:  golang(github.com/coreos/go-systemd/journal)
152cd81
BuildRequires:  golang(github.com/pkg/errors)
152cd81
BuildRequires:  golang(github.com/rs/xid)
152cd81
BuildRequires:  golang(golang.org/x/tools/go/loader)
152cd81
152cd81
%description
152cd81
%{common_description}
152cd81
152cd81
%gopkg
152cd81
152cd81
%prep
152cd81
%goprep
152cd81
152cd81
%install
152cd81
%gopkginstall
152cd81
152cd81
%if %{with check}
152cd81
%check
152cd81
%gocheck
152cd81
%endif
152cd81
152cd81
%gopkgfiles
152cd81
152cd81
%changelog
64e984d
* Mon Dec 21 12:21:36 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.20.0-1
64e984d
- Update to 1.20.0
64e984d
- Close: rhbz#1878907
64e984d
bd90579
* Sat Aug 01 23:38:25 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.19.0-1
bd90579
- Update to 1.19.0
bd90579
1cb50ed
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.2-3
1cb50ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1cb50ed
398aacb
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.2-2
398aacb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
398aacb
106c2c8
* Thu Jan 02 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.17.2-1
106c2c8
- Update to latest version
106c2c8
45e6d1c
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.3-2
45e6d1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
45e6d1c
152cd81
* Mon Apr 29 21:59:04 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.14.3-1
152cd81
- Initial package