diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b330a5e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/fluent-logger-golang-1.4.0.tar.gz diff --git a/golang-github-fluent-logger.spec b/golang-github-fluent-logger.spec new file mode 100644 index 0000000..3cd74c5 --- /dev/null +++ b/golang-github-fluent-logger.spec @@ -0,0 +1,52 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/fluent/fluent-logger-golang +%global goipath github.com/fluent/fluent-logger-golang +Version: 1.4.0 + +%gometa + +%global common_description %{expand: +A structured logger for Fluentd.} + +%global golicenses LICENSE +%global godocs _examples CHANGELOG.md README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Structured logger for Fluentd + +# Upstream license specification: Apache-2.0 +License: ASL 2.0 +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/tinylib/msgp/msgp) + +%if %{with check} +# Tests +BuildRequires: golang(github.com/bmizerany/assert) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Sun May 05 17:33:07 CEST 2019 Robert-André Mauchin - 1.4.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..bb173a0 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (fluent-logger-golang-1.4.0.tar.gz) = dbe80541c582890de3177a9334111da7c6350a2360381ca416a66167cde364eb8f098448a3c61f9c87891d6a13630c9efc2955fc52f3551c93c303c9cf349dd8