From 33f6e3b9ac90e90ab1ee50f14af2d0b4643b00fc Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sep 03 2020 21:16:50 +0000 Subject: import #1875273 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fa430c1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/gitobj-2.0.0.tar.gz diff --git a/golang-github-git-lfs-gitobj-2.spec b/golang-github-git-lfs-gitobj-2.spec new file mode 100644 index 0000000..7664684 --- /dev/null +++ b/golang-github-git-lfs-gitobj-2.spec @@ -0,0 +1,57 @@ +# Generated by go2rpm 1 +%bcond_without check + +# https://github.com/git-lfs/gitobj/v2 +%global goipath github.com/git-lfs/gitobj +Version: 2.0.0 + +%gometa + +%global godevelname %{goname}-2-devel +%global goaltipaths github.com/git-lfs/gitobj/v2 +%global godevelheader %{expand: +Conflicts: %{goname}-devel +} + +%global common_description %{expand: +Gitobj reads and writes Git objects.} + +%global golicenses LICENSE.md +%global godocs README.md + +Name: %{goname}-2 +Release: 1%{?dist} +Summary: Gitobj reads and writes Git objects + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +%if %{with check} +# Tests +BuildRequires: golang(github.com/stretchr/testify/assert) +BuildRequires: golang(github.com/stretchr/testify/require) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Tue Sep 01 16:29:21 EDT 2020 Elliott Sales de Andrade - 2.0.0-1 +- Initial package + diff --git a/sources b/sources new file mode 100644 index 0000000..279d728 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (gitobj-2.0.0.tar.gz) = 88bb13fd83ec1d6210d60fd6395ef38557d6cae93aaeca81e75d216e3bbf5f9fef403d34b20647918efbbc26b9c61b0c3226db0593896352fe13eb7e3574f077