[golang-googlecode-gcfg/f21] Choose the correct architecture Add missing tests - related: #1141880
Jan Chaloupka
jchaloup at fedoraproject.org
Thu Jan 22 14:18:12 UTC 2015
commit 0f8c2dc6ed4faf0b6172b5e31deaef1f2d1122df
Author: Jan Chaloupka <jchaloup at redhat.com>
Date: Thu Jan 22 14:53:27 2015 +0100
Choose the correct architecture
Add missing tests
- related: #1141880
golang-googlecode-gcfg.spec | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/golang-googlecode-gcfg.spec b/golang-googlecode-gcfg.spec
index dc06d1f..42e1675 100644
--- a/golang-googlecode-gcfg.spec
+++ b/golang-googlecode-gcfg.spec
@@ -12,13 +12,16 @@
Name: golang-%{provider}%{provider_prefix}-%{repo}
Version: 0
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4.git%{shortcommit}%{?dist}
Summary: Gcfg reads INI-style configuration files into Go structs
License: BSD
URL: http://%{import_path}
Source0: https://gcfg.googlecode.com/archive/%{commit}.tar.gz
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
BuildArch: noarch
-
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm}
+%endif
%description
%{summary}.
@@ -49,6 +52,9 @@ done
%check
GOPATH=%{buildroot}%{gopath}:%{gopath} go test %{import_path}
+GOPATH=%{buildroot}%{gopath}:%{gopath} go test %{import_path}/scanner
+GOPATH=%{buildroot}%{gopath}:%{gopath} go test %{import_path}/token
+GOPATH=%{buildroot}%{gopath}:%{gopath} go test %{import_path}/types
%files devel
%doc LICENSE README
@@ -64,6 +70,11 @@ GOPATH=%{buildroot}%{gopath}:%{gopath} go test %{import_path}
%attr(664,-,-) %{gopath}/src/%{import_path}/testdata/*.gcfg
%changelog
+* Thu Jan 22 2015 jchaloup <jchaloup at redhat.com> - 0-0.4.gitc2d3050
+- Choose the correct architecture
+- Add missing tests
+ related: #1141880
+
* Tue Oct 07 2014 jchaloup <jchaloup at redhat.com> - 0-0.3.gitc2d3050
- changing summary in devel subpackage
More information about the scm-commits
mailing list