From 7f18924584f07de62b12e63faedd4c1b2570e04b Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Mar 24 2019 21:50:26 +0000 Subject: Release 0.5.1 (#1690719) --- diff --git a/.gitignore b/.gitignore index 991ae2d..ce1cb47 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /go-cleanhttp-5df5ddc69534f1a4697289f1dca2193fbb40213f.tar.gz +/go-cleanhttp-0.5.1.tar.gz diff --git a/golang-github-hashicorp-go-cleanhttp.spec b/golang-github-hashicorp-go-cleanhttp.spec index a0e5827..485afd4 100644 --- a/golang-github-hashicorp-go-cleanhttp.spec +++ b/golang-github-hashicorp-go-cleanhttp.spec @@ -1,30 +1,31 @@ -# http://github.com/hashicorp/go-cleanhttp - +# https://github.com/hashicorp/go-cleanhttp %global goipath github.com/hashicorp/go-cleanhttp -%global commit 5df5ddc69534f1a4697289f1dca2193fbb40213f +Version: 0.5.1 +%global common_description %{expand: +Functions for accessing "clean" Go http.Client values.} -%gometa -i +%gometa Name: golang-github-hashicorp-go-cleanhttp -Version: 0 -Release: 0.13%{?dist} +Release: 1%{?dist} Summary: Functions for accessing "clean" Go http.Client values License: MPLv2.0 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 @@ -33,29 +34,43 @@ 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 -#define license tag if not already defined -%{!?_licensedir:%global license %doc} %files devel -f devel.file-list %license LICENSE %doc README.md + %changelog -* Fri Feb 01 2019 Fedora Release Engineering - Forge-specific packaging variables +* Sun Mar 24 22:32:06 CET 2019 Robert-André Mauchin - 0.5.1-1 +- Release 0.5.1 (#1690719) + +* Fri Feb 01 2019 Fedora Release Engineering - 0-0.13.git5df5ddc - 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.git5df5ddc - 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.git5df5ddc - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 12 2018 Jan Chaloupka - 0-0.10.git5df5ddc diff --git a/sources b/sources index 2d6b9b4..f68f04f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-cleanhttp-5df5ddc69534f1a4697289f1dca2193fbb40213f.tar.gz) = eede2bdcc366d1e20db9cfec89e450819508b3ad2338f96c72c821849c1ee36becc17a2c4f9cfea26126f11ef5841c239b3b0bb9cd7cab07ba602ca20c495715 +SHA512 (go-cleanhttp-0.5.1.tar.gz) = a94953d10485bbb6b1510036c8b87dac1d3ca41f84b1b397bb987ae7df68964e082ed09d9b57cfb8439735d246e599a7848882810699d26505662da735cfd406