From c9a0d1b189613402685eadc468162d47a22498a2 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Mar 24 2019 20:57:46 +0000 Subject: Release 2.1.1 --- diff --git a/.gitignore b/.gitignore index d44bbb1..78e3406 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /columnize-983d3a5fab1bf04d1b412465d2d9f8430e2e917e.tar.gz +/columnize-2.1.1.tar.gz diff --git a/golang-github-ryanuber-columnize.spec b/golang-github-ryanuber-columnize.spec index 79e89d2..9a8a22a 100644 --- a/golang-github-ryanuber-columnize.spec +++ b/golang-github-ryanuber-columnize.spec @@ -1,31 +1,31 @@ -# http://github.com/ryanuber/columnize - +# https://github.com/ryanuber/columnize %global goipath github.com/ryanuber/columnize -%global commit 983d3a5fab1bf04d1b412465d2d9f8430e2e917e +Version: 2.1.1 +%global common_description %{expand: +Columnize is a really small Go package that makes building CLI's a little bit easier. In some CLI designs, you want to output a number similar items in a human-readable way with nicely aligned columns. However, figuring out how wide to make each column is a boring problem to solve and eats your valuable time.} -%gometa -i +%gometa Name: %{goname} -Version: 0 -Release: 0.13%{?dist} -Summary: Easy column formatted output for golang +Release: 1%{?dist} +Summary: Easy column formatted output for golang License: MIT URL: %{gourl} Source0: %{gosource} Source1: glide.yaml -Source2: glide.yaml - +Source2: glide.lock %description -%{summary} +%{common_description} + %package devel Summary: %{summary} BuildArch: noarch %description devel -%{summary} +%{common_description} This package contains library source intended for building other packages which use import path with @@ -34,26 +34,41 @@ building other packages which use import path with %prep %forgesetup cp %{SOURCE1} %{SOURCE2} . + + %install %goinstall glide.lock glide.yaml + +# Remove in F33 +# Remove erroneous glide.lock folder +%pretrans devel -p +path = "%{gopath}/src/%{goipath}/glide.lock" +st = posix.stat(path) +if st and st.type == "directory" then + os.remove(path) +end + + %check %gochecks %files devel -f devel.file-list -%license COPYING +%license LICENSE %doc README.md %changelog -* Fri Feb 01 2019 Fedora Release Engineering - Forge-specific packaging variables +* Sun Mar 24 21:31:07 CET 2019 Robert-André Mauchin - 2.1.1-1 +- Release 2.1.1 + +* Fri Feb 01 2019 Fedora Release Engineering - 0-0.13.git983d3a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild -* Tue Oct 23 2018 Nicolas Mailhot -- 0-0.12 +* Tue Oct 23 2018 Nicolas Mailhot - 0-0.12.git983d3a5 - 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/ -* Fri Jul 13 2018 Fedora Release Engineering - Forge-specific packaging variables +* Fri Jul 13 2018 Fedora Release Engineering - 0-0.11.git983d3a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jan Chaloupka - 0-0.10.git983d3a5 diff --git a/sources b/sources index 1ff81ea..4396f8b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (columnize-983d3a5fab1bf04d1b412465d2d9f8430e2e917e.tar.gz) = 0c746f39fe3f5b9ab0c62c188fe92183c23908fce2952d4ada366cedf204dc58883d717666d71fc1b37f5ed00411da39cfbd4d37ce5cf10012cdecc5704149b1 +SHA512 (columnize-2.1.1.tar.gz) = 1dbb9b5b8d322d824fa00e80528af0baaeae7f2f3ebf3ed6da65bcb508b71755b831fcdc85400f7230de38a1e3feb49a3f26400c43f4816ef6971ab5588bab48