# Generated by go2rpm %bcond_without check # https://github.com/mitchellh/goamz %global goipath github.com/mitchellh/goamz %global commit caaaea8b30ee15616494ee68abd5d8ebbbef05cf %gometa %global common_description %{expand: An Amazon Library for Go.} %global golicenses LICENSE %global godocs CHANGES.md README.md Name: %{goname} Version: 0 Release: 0.18%{?dist} Summary: Golang Amazon Library License: LGPLv3.0-only URL: %{gourl} Source0: %{gosource} # Fix Fatalf arguments Patch0: 0001-Fix-Fatalf-arguments.patch BuildRequires: golang(gopkg.in/check.v1) BuildRequires: golang(github.com/vaughan0/go-ini) %description %{common_description} %gopkg %prep %goprep %patch0 -p1 find . -name "*.go" -exec sed -i "s|github.com/motain/gocheck|gopkg.in/check.v1|" "{}" +; %install %gopkginstall %if %{with check} %check %gocheck -d s3 %endif %gopkgfiles %changelog * Thu May 23 19:58:46 CEST 2019 Robert-André Mauchin - 0-0.18.20150520gitcaaaea8 - Update to new macros * Fri Feb 01 2019 Fedora Release Engineering - 0-0.17.gitcaaaea8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0-0.16.gitcaaaea8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0-0.15.gitcaaaea8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.14.gitcaaaea8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.13.gitcaaaea8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.12.gitcaaaea8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jul 21 2016 Fedora Release Engineering - 0-0.11.gitcaaaea8 - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Feb 22 2016 Fedora Release Engineering - 0-0.10.gitcaaaea8 - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.9.gitcaaaea8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Sep 12 2015 jchaloup - 0-0.8.gitcaaaea8 - Update to spec-2.1 related: #1223451 * Fri Aug 07 2015 Fridolin Pokorny - 0-0.7.gitcaaaea8 - Update spec file to spec-2.0 resolves: #1223451 * Wed Jun 17 2015 Fedora Release Engineering - 0-0.6.gitcaaaea8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed May 20 2015 jchaloup - 0-0.5.gitcaaaea8 - Bump to upstream caaaea8b30ee15616494ee68abd5d8ebbbef05cf - Add license macro - Remove runtime dependency on golang resolves: #1223451 * Tue Jan 13 2015 jchaloup - 0-0.4.git32d1910 - Bump to upstream 32d1910e654ead1308d9073d8ccdd42d6922ee39 related: #1142399 * Fri Oct 10 2014 jchaloup - 0-0.3.git9cad7da - Add dependencies, replace motain/gocheck with check.v1 related: #1142399 * Fri Sep 19 2014 Lokesh Mandvekar - 0-0.2.git9cad7da - Resolves: rhbz#1142399 - initial package upload - don't redefine gopath - don't own dirs owned by golang - preserve timestamps of copied files - devel package buildrequires golang - noarch - correct package name format * Mon Sep 15 2014 Eric Paris