diff --git a/.gitignore b/.gitignore index 00a7851..ceebe53 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /gitobj-1.0.0.tar.gz /gitobj-1.1.0.tar.gz /gitobj-1.2.0.tar.gz +/gitobj-1.3.0.tar.gz diff --git a/golang-github-git-lfs-gitobj.spec b/golang-github-git-lfs-gitobj.spec index db38379..32514e1 100644 --- a/golang-github-git-lfs-gitobj.spec +++ b/golang-github-git-lfs-gitobj.spec @@ -1,51 +1,54 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/git-lfs/gitobj %global goipath github.com/git-lfs/gitobj -Version: 1.2.0 +Version: 1.3.0 %gometa -# Hack to match name that will exist when Go macros are updated. -%global goname golang-github-git-lfs-gitobj +%global common_description %{expand: +Package Gitobj reads and writes loose and packed Git objects.} + +%global golicenses LICENSE.md +%global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Read and write Git objects + License: MIT URL: %{gourl} Source0: %{gosource} -%description -%{summary} - - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel -%{summary} +%if %{with check} +# Tests +BuildRequires: golang(github.com/stretchr/testify/assert) +BuildRequires: golang(github.com/stretchr/testify/require) +%endif -This package contains library source intended for building other packages which -use import path with %{goipath} prefix. +%description +%{common_description} +%gopkg %prep -%forgesetup - +%goprep %install -%goinstall - +%gopkginstall +%if %{with check} %check -%gochecks - - -%files devel -f devel.file-list -%doc README.md -%license LICENSE.md +%gocheck +%endif +%gopkgfiles %changelog +* Mon Jun 03 20:22:35 CEST 2019 Robert-André Mauchin - 1.3.0-1 +- Release 1.3.0 + * Mon Mar 11 2019 Elliott Sales de Andrade - 1.2.0-1 - Update to latest version @@ -55,8 +58,7 @@ use import path with %{goipath} prefix. * Mon Jan 14 2019 Elliott Sales de Andrade - 1.1.0-1 - Update to latest version -* Tue Oct 23 2018 Nicolas Mailhot -- 1.0.0-2 +* Tue Oct 23 2018 Nicolas Mailhot - 1.0.0-2 - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ diff --git a/sources b/sources index 24758d9..e823f78 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gitobj-1.2.0.tar.gz) = c2fe0b4384409cb8f6d2460ca30d4fb7d889cc3516399ee4dc53d5c43288180b53fb9328570e894d629c51fb3fb19c602a22b3e45d0fba2c87c76b922fb04b29 +SHA512 (gitobj-1.3.0.tar.gz) = 2f0af9699ab94514b5f80f99490d7732f201c2e65d3d59221c751f23df4b51fa5e64d987bc1e0c7c2640ed8f07c9e2fd58a3087edb0147e9a968bd7d0cdd58fb