The package rpms/golang-github-samalba-dockerclient.git has added or updated architecture
specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-samalba-dockerclien....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 5feefd8394cf3c7eaeb117b956fb0a2e768a6ed1
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Jul 2 12:25:34 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index eebd9ec..8bebe29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/dockerclient-c37a52f.tar.gz
+/dockerclient-c37a52f55ab5a9edb9ffd4cf6e78692962b29b8d.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..b3d7b4e
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,19 @@
+hash: 4d4aa4683bdc9d4cd2bceed6cc9a86dd0c2463d362e925034ebe354207c3c76b
+imports:
+- name:
github.com/davecgh/go-spew
+ subpackages:
+ - spew
+ version: 782f4967f2dc4564575ca782fe2d04090b5faca8
+- name:
github.com/stretchr/objx
+ version: cbeaeb16a013161a98496fad62933b1d21786672
+- name:
github.com/pmezard/go-difflib
+ subpackages:
+ - difflib
+ version: 792786c7400a136282c1664665ae0a8db921c6c2
+- name:
github.com/stretchr/testify
+ subpackages:
+ - mock
+ - assert
+ version: f6abca593680b2315d2075e0f5e2a9751e3f431a
+updated: '2018-06-28T11:11:26.541580+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..37c393f
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,18 @@
+import:
+- package:
github.com/davecgh/go-spew
+ subpackages:
+ - spew
+ version: 782f4967f2dc4564575ca782fe2d04090b5faca8
+- package:
github.com/stretchr/objx
+ version: cbeaeb16a013161a98496fad62933b1d21786672
+- package:
github.com/pmezard/go-difflib
+ subpackages:
+ - difflib
+ version: 792786c7400a136282c1664665ae0a8db921c6c2
+- package:
github.com/stretchr/testify
+ subpackages:
+ - mock
+ - assert
+ version: f6abca593680b2315d2075e0f5e2a9751e3f431a
+package:
github.com/samalba/dockerclient
+
diff --git a/golang-github-samalba-dockerclient.spec
b/golang-github-samalba-dockerclient.spec
index 3b1874d..df9fd96 100644
--- a/golang-github-samalba-dockerclient.spec
+++ b/golang-github-samalba-dockerclient.spec
@@ -1,88 +1,59 @@
+#
http://github.com/samalba/dockerclient
+%global goipath
github.com/samalba/dockerclient
+%global commit c37a52f55ab5a9edb9ffd4cf6e78692962b29b8d
-%global debug_package %{nil}
-%global provider github
-%global provider_tld com
-%global project samalba
-%global repo dockerclient
-#
https://github.com/samalba/dockerclient
-%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
-%global commit c37a52f55ab5a9edb9ffd4cf6e78692962b29b8d
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%gometa -i
-Name: golang-%{provider}-%{project}-%{repo}
+Name: %{goname}
Version: 0
-Release: 0.9.git%{shortcommit}%{?dist}
+Release: 0.10%{?dist}
Summary: Docker client library in Go
http://www.docker.com/
License: ASL 2.0
-URL: https://%{import_path}
-Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
ExcludeArch: ppc64
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
%description
%{summary}
%package devel
Summary: %{summary}
-BuildRequires: golang >= 1.2.1-3
+
BuildRequires:
golang(github.com/docker/docker/pkg/jsonlog)
BuildRequires:
golang(github.com/docker/docker/pkg/stdcopy)
BuildRequires:
golang(github.com/docker/docker/utils)
BuildRequires:
golang(github.com/gorilla/mux)
BuildRequires:
golang(github.com/stretchr/testify/mock)
-Requires:
golang(github.com/docker/docker/pkg/jsonlog)
-Requires:
golang(github.com/docker/docker/pkg/stdcopy)
-Requires:
golang(github.com/docker/docker/utils)
-Requires:
golang(github.com/gorilla/mux)
-Requires:
golang(github.com/stretchr/testify/mock)
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/mockclient) = %{version}-%{release}
%description devel
%{summary}
This package contains library source intended for
-building other packages which use %{project}/%{repo}.
+building other packages which use %{goipath}.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%install
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-cp -pav *.go %{buildroot}/%{gopath}/src/%{import_path}/
-
-# copy directories
-for file in ./* ; do
- if [ -d $file ]; then
- cp -rpav $file %{buildroot}%{gopath}/src/%{import_path}/
- fi
-done
-
-chmod -x %{buildroot}%{gopath}/src/%{import_path}/auth_test.go
+%goinstall glide.lock glide.yaml
%check
# looks like this needs docker running
#.
-GOPATH=%{buildroot}/%{gopath}:%{gopath} go test %{import_path}/mockclient
+GOPATH=%{buildroot}/%{gopath}:%{gopath} go test %{goipath}/mockclient
-%files devel
-%if 0%{?fedora}
+%files devel -f devel.file-list
%license LICENSE
%doc README.md
-%else
-%doc README.md LICENSE
-%endif
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%{gopath}/src/%{import_path}
%changelog
+* Mon Jul 02 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.gitc37a52f
+- Upload glide files
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.9.gitc37a52f
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 89d2e2d..5f3cf9a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e13b6f1dbd98db709e4452fd558188b2 dockerclient-c37a52f.tar.gz
+SHA512 (dockerclient-c37a52f55ab5a9edb9ffd4cf6e78692962b29b8d.tar.gz) =
a6fd34e978fd2c61a4a1d5cc042f1de25d0b18751941be86c3f1ce73c9fb65675d0bc1967acce563664d31d25bf0878263f85b0ffd8a4b2495ec947351b8d0c7