diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2c838a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/go-digest-1.0.0-rc1.tar.gz diff --git a/golang-github-opencontainers-digest.spec b/golang-github-opencontainers-digest.spec new file mode 100644 index 0000000..a10b444 --- /dev/null +++ b/golang-github-opencontainers-digest.spec @@ -0,0 +1,50 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/opencontainers/go-digest +%global goipath github.com/opencontainers/go-digest +Version: 1.0.0 +%global tag v1.0.0-rc1 + +%gometa + +%global common_description %{expand: +Package Digest provides a generalized type to opaquely represent message digests +and their operations within the registry. The Digest type is designed to serve +as a flexible identifier in a content-addressable system. More importantly, it +provides tools and wrappers to work with hash.Hash-based digests with little +effort.} + +%global golicenses LICENSE.docs LICENSE.code +%global godocs CONTRIBUTING.md README.md + +Name: %{goname} +Release: 1.rc1%{?dist} +Summary: Common digest package used across the container ecosystem + +# Upstream license specification: Apache-2.0 and CC-BY-SA-4.0 +License: ASL 2.0 and CC-BY-SA +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Wed May 01 16:46:59 CEST 2019 Robert-André Mauchin - 1.0.0-1.rc1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..766c420 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (go-digest-1.0.0-rc1.tar.gz) = 2b2e8d02d45d5d9f5a73abb8228b097a7db4f48afb4712f3cc98444493087c9dfa02e2bc192d8dece0d5d98ef07d23400ae0796301647e452d5fe4ae1bf42caf