diff --git a/.gitignore b/.gitignore index f01cc21..f6cc3bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/netlink-1e2e08e.tar.gz +/netlink-e73bad4.tar.gz diff --git a/golang-github-vishvananda-netlink.spec b/golang-github-vishvananda-netlink.spec index 9285ec4..2223982 100644 --- a/golang-github-vishvananda-netlink.spec +++ b/golang-github-vishvananda-netlink.spec @@ -32,12 +32,12 @@ # https://github.com/vishvananda/netlink %global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} %global import_path %{provider_prefix} -%global commit 1e2e08e8a2dcdacaae3f14ac44c5cfa31361f270 +%global commit e73bad418fd727ed3a02830b1af1ad0283a1de6c %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: golang-%{provider}-%{project}-%{repo} Version: 0 -Release: 0.9.git%{shortcommit}%{?dist} +Release: 0.10.git%{shortcommit}%{?dist} Summary: Simple netlink library for go License: ASL 2.0 URL: https://%{provider_prefix} @@ -48,8 +48,6 @@ ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} # 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} -Patch0: key-len-is-arch-dependant-ppc64-big-endian-build-pro.patch - %description The netlink package provides a simple netlink library for go. Netlink is the interface a user-space program in linux uses to communicate @@ -88,18 +86,8 @@ building other packages which use import path with %if 0%{?with_unit_test} %package unit-test Summary: Unit tests for %{name} package -# If go_arches not defined fall through to implicit golang archs -%if 0%{?go_arches:1} -ExclusiveArch: %{go_arches} -%else -ExclusiveArch: %{ix86} x86_64 %{arm} -%endif -# If gccgo_arches does not fit or is not defined fall through to golang -%ifarch 0%{?gccgo_arches} -BuildRequires: gcc-go >= %{gccgo_min_vers} -%else -BuildRequires: golang -%endif +# 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} %if 0%{?with_check} #Here comes all BuildRequires: PACKAGE the unit tests @@ -118,7 +106,6 @@ providing packages with %{import_path} prefix. %prep %setup -q -n %{repo}-%{commit} -%patch0 -p1 %build @@ -177,6 +164,10 @@ gotest %{import_path}/nl %endif %changelog +* Tue Dec 13 2016 Jan Chaloupka - 0-0.10.gite73bad4 +- Bump to upstream e73bad418fd727ed3a02830b1af1ad0283a1de6c + related: #1398575 + * Tue Dec 13 2016 Jan Chaloupka - 0-0.9.git1e2e08e - Fix tests for ppc64le architecture (upstream patch) resolves: #1398575 diff --git a/sources b/sources index 965ae95..595e53a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1081e1a7b64d2d88bbe4e455c542710f netlink-1e2e08e.tar.gz +SHA512 (netlink-e73bad4.tar.gz) = 569a186038d389ac5c91eab6cf2476ceee9ba8fd79626fbbf18f286f487989a3b2ebd07673312b0e3b03036faf765007b2d43f4a957d4d691766c44e5acc232c