diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..db835d6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/fifo-a9fb20d87448d386e6d50b1f2e1fa70dcf0de43c.tar.gz diff --git a/golang-github-containerd-fifo.spec b/golang-github-containerd-fifo.spec new file mode 100644 index 0000000..14ccb0f --- /dev/null +++ b/golang-github-containerd-fifo.spec @@ -0,0 +1,54 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/containerd/fifo +%global goipath github.com/containerd/fifo +%global commit a9fb20d87448d386e6d50b1f2e1fa70dcf0de43c + +%gometa + +%global common_description %{expand: +Go package for handling fifos in a sane way.} + +%global golicenses LICENSE +%global godocs readme.md + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: Fifo pkg for Go + +# Upstream license specification: Apache-2.0 +License: ASL 2.0 +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/pkg/errors) +BuildRequires: golang(golang.org/x/net/context) + +%if %{with check} +# Tests +BuildRequires: golang(github.com/stretchr/testify/assert) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Wed May 01 17:07:45 CEST 2019 Robert-André Mauchin - 0-0.1.20190626gita9fb20d +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..81a7311 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (fifo-a9fb20d87448d386e6d50b1f2e1fa70dcf0de43c.tar.gz) = dacc9e67c7ca69184e6263dc5c93c258318ab180c03ff2a8f9b05172dd8d0ebd4fe7891c2e29b8ca789ad900cdbf14dc4fdf6081a1e83862c256f941dec24858