jchaloup pushed to golang-github-google-gofuzz (f22). "Choose the correct architecture (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 10:20:43 UTC 2015


>From ee09be1a41bc2aa8d0ddcba1fe4c2ce0eb592408 Mon Sep 17 00:00:00 2001
From: Jan Chaloupka <jchaloup at redhat.com>
Date: Mon, 30 Mar 2015 10:50:40 +0200
Subject: Choose the correct architecture - related: #1141817


diff --git a/golang-github-google-gofuzz.spec b/golang-github-google-gofuzz.spec
index 50833bd..69551fb 100644
--- a/golang-github-google-gofuzz.spec
+++ b/golang-github-google-gofuzz.spec
@@ -10,12 +10,16 @@
 
 Name:		golang-%{provider}-%{project}-%{repo}
 Version:	0
-Release:	0.5.git%{shortcommit}%{?dist}
+Release:	0.6.git%{shortcommit}%{?dist}
 Summary:	Library for populating go objects with random values
 License:	ASL 2.0
 URL:		https://%{import_path}
 Source0:	https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-BuildArch:	noarch
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+BuildArch:      noarch
+%else
+ExclusiveArch:  %{ix86} x86_64 %{arm}
+%endif
 
 %description
 %{summary}
@@ -41,9 +45,6 @@ which use %{project}/%{repo}
 install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
 cp -pav *.go %{buildroot}/%{gopath}/src/%{import_path}
 
-%check
-GOPATH=%{gopath}:%{buildroot}%{gopath} go test %{import_path}
-
 %files devel
 %defattr(-,root,root,-)
 %doc LICENSE README.md CONTRIBUTING.md
@@ -52,6 +53,10 @@ GOPATH=%{gopath}:%{buildroot}%{gopath} go test %{import_path}
 %attr(644,-,-) %{gopath}/src/%{import_path}/*
 
 %changelog
+* Mon Mar 30 2015 jchaloup <jchaloup at redhat.com> - 0-0.6.gitbbcb9da
+- Choose the correct architecture
+  related: #1141817
+
 * Sun Mar 08 2015 jchaloup <jchaloup at redhat.com> - 0-0.5.gitbbcb9da
 - Bump to upstream bbcb9da2d746f8bdbd6a936686a0a6067ada0ec5
   related: #1141817
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/golang-github-google-gofuzz.git/commit/?h=f22&id=ee09be1a41bc2aa8d0ddcba1fe4c2ce0eb592408


More information about the scm-commits mailing list