From ce78bfe2517ba1a9ba28fd4b07082b99aaef90ac Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Apr 03 2019 20:07:03 +0000 Subject: Release 1.0.0 (#1695230) Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore index 80ec7a6..d1e366a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /go-wordwrap-ad45545899c7b13c020ea92b2072220eefad42b8.tar.gz +/go-wordwrap-1.0.0.tar.gz diff --git a/golang-github-mitchellh-go-wordwrap.spec b/golang-github-mitchellh-go-wordwrap.spec index 3b94034..5a878c3 100644 --- a/golang-github-mitchellh-go-wordwrap.spec +++ b/golang-github-mitchellh-go-wordwrap.spec @@ -1,63 +1,76 @@ -# http://github.com/mitchellh/go-wordwrap +# Generated by go2rpm +%bcond_without check +# https://github.com/mitchellh/go-wordwrap %global goipath github.com/mitchellh/go-wordwrap -%global commit ad45545899c7b13c020ea92b2072220eefad42b8 +Version: 1.0.0 +%gometa -%gometa -i +%global common_description %{expand: +A go (golang) library for wrapping words in a string.} Name: golang-github-mitchellh-go-wordwrap -Version: 0 -Release: 0.8%{?dist} -Summary: A Go library for wrapping words in a string -# Detected licences -# - MIT/X11 (BSD like) at 'LICENSE.md' +Release: 1%{?dist} +Summary: A go (golang) library for wrapping words in a string + License: MIT URL: %{gourl} -Source0: %{gosource} +Source: %{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 %{goipath} prefix. %prep -%forgesetup +%forgeautosetup -p1 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 + +%if %{with check} %check %gochecks - -#define license tag if not already defined -%{!?_licensedir:%global license %doc} +%endif %files devel -f devel.file-list %license LICENSE.md %doc README.md %changelog -* Fri Feb 01 2019 Fedora Release Engineering - Forge-specific packaging variables +* Wed Apr 03 21:57:30 CEST 2019 Robert-André Mauchin - 1.0.0-1 +- Release 1.0.0 (#1695230) + +* Fri Feb 01 2019 Fedora Release Engineering - 0-0.8.gitad45545 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild -* Tue Oct 23 2018 Nicolas Mailhot -- 0-0.7 +* Tue Oct 23 2018 Nicolas Mailhot - 0-0.7.gitad45545 - 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.6.gitad45545 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jun 18 2018 Jan Chaloupka - 0-0.5.gitad45545 diff --git a/sources b/sources index 6bc5c78..3630f6f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-wordwrap-ad45545899c7b13c020ea92b2072220eefad42b8.tar.gz) = 39cd6786782e3a29ad448db3ec815a6da029bc22fbe543fb04e0e869d8b4a698f20434bb24c09bd18b5d2cdb992fc28e21b7ae16b3e585412cede7b4eed2b26c +SHA512 (go-wordwrap-1.0.0.tar.gz) = b2a916a08f13847ef8c0da2c944604bd0c8c6283eadbf2f9b791538d26c17f2c1f73ce629b245320c1ff0fbbfa9525208dddcf3a21c1370ba97d9d82b35e2812