From ce37c75a890be9aab406e8f29298d9a9279fba5e Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Apr 06 2019 15:50:47 +0000 Subject: Release 1.0.0 (#1695317) Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore index e76f65b..c1fd898 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /reflectwalk-eecf4c70c626c7cfbb95c90195bc34d386c74ac6.tar.gz +/reflectwalk-1.0.0.tar.gz diff --git a/golang-github-mitchellh-reflectwalk.spec b/golang-github-mitchellh-reflectwalk.spec index 423bd13..a50c1ae 100644 --- a/golang-github-mitchellh-reflectwalk.spec +++ b/golang-github-mitchellh-reflectwalk.spec @@ -1,60 +1,76 @@ -# http://github.com/mitchellh/reflectwalk +# Generated by go2rpm +%bcond_without check +# https://github.com/mitchellh/reflectwalk %global goipath github.com/mitchellh/reflectwalk -%global commit eecf4c70c626c7cfbb95c90195bc34d386c74ac6 +Version: 1.0.0 +%gometa -%gometa -i +%global common_description %{expand: +Reflectwalk is a Go library for "walking" a value in Go using reflection, in the +same way a directory tree can be "walked" on the filesystem. Walking a complex +structure can allow you to do manipulations on unknown structures such as those +decoded from JSON.} Name: %{goname} -Version: 0 -Release: 0.8%{?dist} +Release: 1%{?dist} Summary: Go library for "walking" complex structures, similar to walking a filesystem -# Detected licences -# - MIT/X11 (BSD like) at 'LICENSE' + 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 %{goipath} prefix. %prep -%forgesetup +%forgeautosetup -p1 cp %{SOURCE1} %{SOURCE2} . + %install %goinstall glide.lock glide.yaml -%check -%gochecks -d . +# 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 -#define license tag if not already defined -%{!?_licensedir:%global license %doc} +%if %{with check} +%check +%gochecks +%endif %files devel -f devel.file-list %license LICENSE %doc README.md %changelog -* Tue Oct 23 2018 Nicolas Mailhot -- 0-0.8 +* Sat Apr 06 17:38:20 CEST 2019 Robert-André Mauchin - 1.0.0-1 +- Release 1.0.0 (#1695317) + +* Tue Oct 23 2018 Nicolas Mailhot - 0-0.8.giteecf4c7 - 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.7.giteecf4c7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 20 2018 Jan Chaloupka - 0-0.6.giteecf4c7 diff --git a/sources b/sources index 8a2b221..77f5a65 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (reflectwalk-eecf4c70c626c7cfbb95c90195bc34d386c74ac6.tar.gz) = a8112877ca2743887d39e2d2a6074932455a4ee4d9a24301495018f504922079b50f43c65601eb459d0142faf2828551cf316123092d18581c6d0c92b05209ca +SHA512 (reflectwalk-1.0.0.tar.gz) = 15c2dc2de1ec000d868b3d7a172f49ed038d236c70d77a00dc681fb78b7ac8ccb74158822706fc62132f96c9d564625c285252ffec25c6cad641734cbe6d6226