The package rpms/golang-github-docker-go-connections.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-docker-go-connectio....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit d186c002171e20b33efe15e4c2ea44706ab1a9c5
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Sep 26 12:14:39 2018 +0200
Bump to v0.4.0
- resolves: #1555789
diff --git a/.gitignore b/.gitignore
index cf31e67..da2050a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-connections-6e4c13d.tar.gz
+/go-connections-7395e3f8aa162843a74ed6d48e79627d9792ac55.tar.gz
diff --git a/golang-github-docker-go-connections.spec
b/golang-github-docker-go-connections.spec
index 0d6ff38..66c78a6 100644
--- a/golang-github-docker-go-connections.spec
+++ b/golang-github-docker-go-connections.spec
@@ -1,14 +1,14 @@
#
http://github.com/docker/go-connections
-%global provider_prefix
github.com/docker/go-connections
-%global gobaseipath %{provider_prefix}
-%global commit 6e4c13dc022344c3623c9eacbaf7cfd0fa9fcae3
-%global commitdate 20160203
-%gocraftmeta -i
+%global goipath
github.com/docker/go-connections
+%global commit 7395e3f8aa162843a74ed6d48e79627d9792ac55
+
+
+%gometa -i
Name: %{goname}
-Version: 0.1.2
-Release: 0.9.%{commitdate}git%{shortcommit}%{?dist}
+Version: 0.4.0
+Release: 1%{?dist}
Summary: Utility package to work with network connections
License: ASL 2.0
URL: %{gourl}
@@ -23,15 +23,16 @@ ExcludeArch: ppc64
Summary: %{summary}
BuildArch: noarch
-BuildRequires:
golang(github.com/Sirupsen/logrus)
-BuildRequires:
golang(github.com/opencontainers/runc/libcontainer/user)
+BuildRequires:
golang(github.com/pkg/errors)
+BuildRequires:
golang(github.com/stretchr/testify/assert)
+BuildRequires:
golang(golang.org/x/net/proxy)
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
@@ -50,6 +51,10 @@ building other packages which use import path with
%doc CONTRIBUTING.md README.md
%changelog
+* Thu Sep 27 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.4.0-1.git7395e3f
+- Bump to v0.4.0
+ resolves: #1555789
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org>
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources
index e0faa81..c3a0d82 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b195f75c301cc7275242fe43c490ff0b go-connections-6e4c13d.tar.gz
+SHA512 (go-connections-7395e3f8aa162843a74ed6d48e79627d9792ac55.tar.gz) =
f09d51e1e88349ea1ce879e6ca2f44cdfdd9899fb7472b927484c3094d3649f9d06775e56aadae15b283d85e773baff2678c56186bc01b9f4fc83dd7cf105ba9
commit c6f462621835473f5c3060f6f39f5d7cd94af117
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 13 03:29:53 2018 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/golang-github-docker-go-connections.spec
b/golang-github-docker-go-connections.spec
index c4318ae..0d6ff38 100644
--- a/golang-github-docker-go-connections.spec
+++ b/golang-github-docker-go-connections.spec
@@ -8,7 +8,7 @@
Name: %{goname}
Version: 0.1.2
-Release: 0.8.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.9.%{commitdate}git%{shortcommit}%{?dist}
Summary: Utility package to work with network connections
License: ASL 2.0
URL: %{gourl}
@@ -50,6 +50,9 @@ building other packages which use import path with
%doc CONTRIBUTING.md README.md
%changelog
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org>
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> -
0.1.2-0.8.20160203git6e4c13d
- Autogenerate some parts using the new macros
commit 089367665d1f5229de97f087544e7b77d9544556
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 14:24:11 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-docker-go-connections.spec
b/golang-github-docker-go-connections.spec
index 258983f..c4318ae 100644
--- a/golang-github-docker-go-connections.spec
+++ b/golang-github-docker-go-connections.spec
@@ -1,164 +1,58 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 0
-%global with_bundled 0
-%global with_debug 0
-%global with_check 0
-%global with_unit_test 0
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project docker
-%global repo go-connections
-#
https://github.com/docker/go-connections
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+#
http://github.com/docker/go-connections
+%global provider_prefix
github.com/docker/go-connections
+%global gobaseipath %{provider_prefix}
%global commit 6e4c13dc022344c3623c9eacbaf7cfd0fa9fcae3
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160203
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0.1.2
-Release: 0.7.git%{shortcommit}%{?dist}
+Release: 0.8.%{commitdate}git%{shortcommit}%{?dist}
Summary: Utility package to work with network connections
License: ASL 2.0
-URL: https://%{provider_prefix}
-Source0:
https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
-# 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}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
BuildRequires:
golang(github.com/Sirupsen/logrus)
BuildRequires:
golang(github.com/opencontainers/runc/libcontainer/user)
-%endif
-
-Requires:
golang(github.com/Sirupsen/logrus)
-Requires:
golang(github.com/opencontainers/runc/libcontainer/user)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/nat) = %{version}-%{release}
-Provides: golang(%{import_path}/proxy) = %{version}-%{release}
-Provides: golang(%{import_path}/sockets) = %{version}-%{release}
-Provides: golang(%{import_path}/tlsconfig) = %{version}-%{release}
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
-%endif
-
-%description unit-test-devel
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >>
devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test-devel.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >>
devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >>
unit-test-devel.file-list
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%gotest %{import_path}/nat
-%gotest %{import_path}/proxy
-%gotest %{import_path}/sockets
-%gotest %{import_path}/tlsconfig
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc CONTRIBUTING.md README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE
-%doc CONTRIBUTING.md README.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> -
0.1.2-0.8.20160203git6e4c13d
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0.1.2-0.7.git6e4c13d
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild