diff --git a/.gitignore b/.gitignore index efa5453..0206409 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /go-colorful-1.0.tar.gz +/go-colorful-1.0.2.tar.gz diff --git a/golang-github-lucasb-eyer-colorful.spec b/golang-github-lucasb-eyer-colorful.spec index 31e3c71..72399e6 100644 --- a/golang-github-lucasb-eyer-colorful.spec +++ b/golang-github-lucasb-eyer-colorful.spec @@ -1,57 +1,57 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/lucasb-eyer/go-colorful %global goipath github.com/lucasb-eyer/go-colorful -Version: 1.0 +Version: 1.0.2 %gometa +%global common_description %{expand: +A library for playing with colors in Go.} + +%global golicenses LICENSE +%global godocs doc README.md + Name: %{goname} -Release: 4%{?dist} -Summary: A library for playing with colors in Go +Release: 1%{?dist} +Summary: Library for playing with colors in Go + License: MIT URL: %{gourl} Source0: %{gosource} -%description -%{summary} - -%package devel -Summary: %{summary} -BuildArch: noarch - -BuildRequires: golang(gopkg.in/DATA-DOG/go-sqlmock.v1) - -Provides: golang-github-lucasb-eyer-go-colorful-devel = %{version}-%{release} -Obsoletes: golang-github-lucasb-eyer-go-colorful-devel < 1.0-1 +%if %{with check} +# Tests +BuildRequires: golang(github.com/DATA-DOG/go-sqlmock) +%endif -%description devel -%{summary} - -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 +%gocheck +%endif +%gopkgfiles %changelog +* Tue May 28 14:02:42 CEST 2019 Robert-André Mauchin - 1.0.2-1 +- Release 1.0.2 + * Fri Feb 01 2019 Fedora Release Engineering - 1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild -* Tue Oct 23 2018 Nicolas Mailhot -- 1.0-3 +* Tue Oct 23 2018 Nicolas Mailhot - 1.0-3 - 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 4d977f6..ef5c87f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-colorful-1.0.tar.gz) = 9097344e7da73f121a9ee1f510c13e4ee331cfe184bdd2383e470681490e44d033c8463f8bd68be5302e083d6c9209ba65c189f057a9965188728e751d7a588a +SHA512 (go-colorful-1.0.2.tar.gz) = 1e1ebf03ec1e8a8c282af46c207016ea146e70b4d8a637c5cf54807a988cc27817e5c67ffa9e725746b808499d65f98aa138e725f61a2ec229818db125f36e02