[golang-github-mitchellh-goamz/f20] Bump to upstream 32d1910e654ead1308d9073d8ccdd42d6922ee39 - related: #1142399

Jan Chaloupka jchaloup at fedoraproject.org
Tue Jan 13 12:52:25 UTC 2015


commit bc6f8a53a1e0d5a09656fef54adeec12a42fded9
Author: Jan Chaloupka <jchaloup at redhat.com>
Date:   Tue Jan 13 12:50:53 2015 +0100

    Bump to upstream 32d1910e654ead1308d9073d8ccdd42d6922ee39
    - related: #1142399

 .gitignore                         |    2 +-
 golang-github-mitchellh-goamz.spec |   56 ++++++++++++-----------------------
 sources                            |    2 +-
 3 files changed, 21 insertions(+), 39 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 245e1bd..ee9954a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/goamz-a996a83b.tar.gz
+/goamz-32d1910.tar.gz
diff --git a/golang-github-mitchellh-goamz.spec b/golang-github-mitchellh-goamz.spec
index bc591c8..7b243f4 100644
--- a/golang-github-mitchellh-goamz.spec
+++ b/golang-github-mitchellh-goamz.spec
@@ -2,40 +2,43 @@
 %global provider_tld	com
 %global project		mitchellh
 %global repo		goamz
-%global commit		a996a83b38c0e9190f388d1aa72a9178fdee5005
-
+%global commit		32d1910e654ead1308d9073d8ccdd42d6922ee39
 %global import_path	%{provider}.%{provider_tld}/%{project}/%{repo}
-%global shortcommit	%(c=%{commit}; echo ${c:0:8})
+%global shortcommit	%(c=%{commit}; echo ${c:0:7})
 %global debug_package	%{nil}
 
 Name:		golang-%{provider}-%{project}-%{repo}
 Version:	0
-Release:	0.3.git%{shortcommit}%{?dist}
+Release:	0.4.git%{shortcommit}%{?dist}
 Summary:	An Amazon Library for Go
 License:	LGPLv3+
 URL:		http://%{import_path}
 Source0:	https://github.com/%{project}/%{repo}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-BuildArch:	noarch
-
-Patch0:		0001-motain-gocheck-to-check.v1.patch
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+BuildArch:      noarch
+%else
+ExclusiveArch:  %{ix86} x86_64 %{arm}
+%endif
 
 %description
 %{summary}.
 
 %package devel
 BuildRequires:	golang >= 1.2.1-3
-BuildRequires:	golang(gopkg.in/check.v1)
+BuildRequires:	golang(github.com/motain/gocheck)
 BuildRequires:	golang(github.com/vaughan0/go-ini)
 Requires:	golang >= 1.2.1-3
 Requires:	golang(github.com/vaughan0/go-ini)
-Requires:	golang(gopkg.in/check.v1)
+Requires:	golang(github.com/motain/gocheck)
 Summary:	A golang library for logging to systemd
-Provides:	golang(%{import_path}) = %{version}-%{release}
 Provides:	golang(%{import_path}/autoscaling) = %{version}-%{release}
 Provides:	golang(%{import_path}/aws) = %{version}-%{release}
 Provides:	golang(%{import_path}/ec2) = %{version}-%{release}
 Provides:	golang(%{import_path}/elb) = %{version}-%{release}
 Provides:	golang(%{import_path}/exp) = %{version}-%{release}
+Provides:	golang(%{import_path}/exp/mturk) = %{version}-%{release}
+Provides:	golang(%{import_path}/exp/sdb) = %{version}-%{release}
+Provides:	golang(%{import_path}/exp/sns) = %{version}-%{release}
 Provides:	golang(%{import_path}/iam) = %{version}-%{release}
 Provides:	golang(%{import_path}/rds) = %{version}-%{release}
 Provides:	golang(%{import_path}/route53) = %{version}-%{release}
@@ -46,7 +49,6 @@ Provides:	golang(%{import_path}/s3) = %{version}-%{release}
 
 %prep
 %setup -q -n %{repo}-%{commit}
-%patch0 -p1
 
 %build
 
@@ -63,36 +65,16 @@ done
 %files devel
 %doc LICENSE README.md
 %dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%dir %{gopath}/src/%{import_path}
-%dir %{gopath}/src/%{import_path}/autoscaling
-%{gopath}/src/%{import_path}/autoscaling/*
-%dir %{gopath}/src/%{import_path}/aws
-%{gopath}/src/%{import_path}/aws/*
-%dir %{gopath}/src/%{import_path}/ec2
-%{gopath}/src/%{import_path}/ec2/*
-%dir %{gopath}/src/%{import_path}/elb
-%{gopath}/src/%{import_path}/elb/*
-%dir %{gopath}/src/%{import_path}/exp
-%dir %{gopath}/src/%{import_path}/exp/mturk
-%{gopath}/src/%{import_path}/exp/mturk/*
-%dir %{gopath}/src/%{import_path}/exp/sdb
-%{gopath}/src/%{import_path}/exp/sdb/*
-%dir %{gopath}/src/%{import_path}/exp/sns
-%{gopath}/src/%{import_path}/exp/sns/*
-%dir %{gopath}/src/%{import_path}/iam
-%{gopath}/src/%{import_path}/iam/*
-%dir %{gopath}/src/%{import_path}/rds
-%{gopath}/src/%{import_path}/rds/*
-%dir %{gopath}/src/%{import_path}/route53
-%{gopath}/src/%{import_path}/route53/*
-%dir %{gopath}/src/%{import_path}/s3
-%{gopath}/src/%{import_path}/s3/*
-%dir %{gopath}/src/%{import_path}/testutil
-%{gopath}/src/%{import_path}/testutil/*
+%{gopath}/src/%{import_path}
 
 %changelog
+* Tue Jan 13 2015 jchaloup <jchaloup at redhat.com> - 0-0.4.git32d1910
+- Bump to upstream 32d1910e654ead1308d9073d8ccdd42d6922ee39
+  related: #1142399
+
 * Fri Oct 10 2014 jchaloup <jchaloup at redhat.com> - 0-0.3.git9cad7da
 - Add dependencies, replace motain/gocheck with check.v1
+  related: #1142399
 
 * Fri Sep 19 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0-0.2.git9cad7da
 - Resolves: rhbz#1142399 - initial package upload
diff --git a/sources b/sources
index 1777173..2c08690 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d82a2d95bc1b45785371bb1f64668b9d  goamz-a996a83b.tar.gz
+4955f66e48227e54a0d7c9aab968289e  goamz-32d1910.tar.gz


More information about the scm-commits mailing list