commit 0267971f3899433a92452e89b891cba4b1f08d01
Author: Lokesh Mandvekar <lsm5(a)redhat.com>
Date: Fri Jan 17 15:24:31 2014 -0500
exclusivearch for el6+
Signed-off-by: Lokesh Mandvekar <lsm5(a)redhat.com>
golang-github-syndtr-gocapability.spec | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/golang-github-syndtr-gocapability.spec
b/golang-github-syndtr-gocapability.spec
index c4113be..a779600 100644
--- a/golang-github-syndtr-gocapability.spec
+++ b/golang-github-syndtr-gocapability.spec
@@ -6,7 +6,7 @@
Name: golang-github-syndtr-gocapability
Version: 0
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5.git%{shortcommit}%{?dist}
Summary: POSIX capability library for the Go programming language
License: BSD
URL: %{import_path}
@@ -19,7 +19,7 @@ Source0:
https://github.com/syndtr/gocapability/archive/%{commit}/gocapab
BuildRequires: golang
Requires: golang
Summary: Source for POSIX capability for the Go programming language
-%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+%if 0%{?fedora} >= 19
BuildArch: noarch
%else
ExclusiveArch: %{ix86} x86_64 %{arm}
@@ -44,9 +44,6 @@ cp -av capability %{buildroot}/%{gopath}/src/%{import_path}/
%check
GOPATH=%{buildroot}/%{gopath} go test %{import_path}/capability
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files devel
%defattr(-,root,root,-)
%doc LICENSE
@@ -57,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
%{gopath}/src/%{import_path}/capability/*.go
%changelog
+* Fri Jan 17 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.5.git3454319
+- exclusivearch for el6+
+
* Fri Jan 17 2014 Lokesh Mandvekar <lsm5(a)redhat.com> 0-0.4.git3454319
- require golang as runtime dep