# Generated by go2rpm %bcond_without check # https://github.com/collectd/go-collectd %global goipath collectd.org %global forgeurl https://github.com/collectd/go-collectd Version: 0.3.0 %global commit f80706d1e115f0e4a6cbd8bf7c5cddf99d836495 %gometa %global common_description %{expand: Utilities for using collectd together with Go.} %global golicenses LICENSE %global godocs README.md README-plugin.md %global gosupfiles glide.lock glide.yaml Name: %{goname} Release: 1%{?dist} Summary: Utilities for using Collectd together with Go License: ISC URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock BuildRequires: golang(github.com/golang/protobuf/proto) BuildRequires: golang(github.com/golang/protobuf/ptypes) BuildRequires: golang(github.com/golang/protobuf/ptypes/duration) BuildRequires: golang(github.com/golang/protobuf/ptypes/timestamp) BuildRequires: golang(golang.org/x/net/context) BuildRequires: golang(google.golang.org/grpc) BuildRequires: golang(google.golang.org/grpc/codes) %description %{common_description} %gopkg %prep %goprep cp %{S:1} %{S:2} . mv plugin/README.md README-plugin.md %install %gopkginstall # 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 %gocheck %endif %gopkgfiles %changelog * Tue Apr 23 08:49:20 CEST 2019 Robert-André Mauchin - 0.3.0-1.20190423gitf80706d - Bump to commit f80706d1e115f0e4a6cbd8bf7c5cddf99d836495 * Thu Jan 31 2019 Fedora Release Engineering - 0-0.13.git9fc824c - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 23 2018 Nicolas Mailhot - 0-0.12.git9fc824c - 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 - 0-0.11.git9fc824c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 02 2018 Jan Chaloupka - 0-0.10.git9fc824c - Upload glide files * Wed Feb 28 2018 Jan Chaloupka - 0-0.9.20151109git9fc824c - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 0-0.8.git9fc824c - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.7.git9fc824c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.6.git9fc824c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.5.git9fc824c - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jul 21 2016 Fedora Release Engineering - 0-0.4.git9fc824c - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Feb 22 2016 Fedora Release Engineering - 0-0.3.git9fc824c - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.2.git9fc824c - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Nov 02 2015 jchaloup - 0-0.1.git9fc824c - First package for Fedora resolves: #1277119