diff --git a/.gitignore b/.gitignore index 4d50e27..4ba6202 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/netlink-2187ba6.tar.gz +/netlink-991a7a2.tar.gz diff --git a/golang-github-vishvananda-netlink.spec b/golang-github-vishvananda-netlink.spec index d8ffc9a..5e9b889 100644 --- a/golang-github-vishvananda-netlink.spec +++ b/golang-github-vishvananda-netlink.spec @@ -4,12 +4,12 @@ %global project vishvananda %global repo netlink %global import_path %{provider}.%{provider_tld}/%{project}/%{repo} -%global commit 2187ba67a244c1c32f53bf88876e766bbbbcd5e6 +%global commit 991a7a2fa7c073968fb27f36669df199b1fdf412 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: golang-%{provider}-%{project}-%{repo} Version: 0 -Release: 0.1.git%{shortcommit}%{?dist} +Release: 0.2.git%{shortcommit}%{?dist} Summary: Simple netlink library for go License: ASL 2.0 URL: https://%{import_path} @@ -36,7 +36,6 @@ testability,performance, and to add new functionality like ipsec xfrm handling. %package devel BuildRequires: golang >= 1.2.1-3 BuildRequires: golang(github.com/vishvananda/netns) -Requires: golang >= 1.2.1-3 Requires: golang(github.com/vishvananda/netns) Summary: %{summary} Provides: golang(%{import_path}) = %{version}-%{release} @@ -63,11 +62,22 @@ cp -rpav nl %{buildroot}/%{gopath}/src/%{import_path}/ GOPATH=%{buildroot}/%{gopath}:%{gopath} go test %{import_path}/nl %files devel +%if 0%{?fedora} +%license LICENSE +%doc README.md +%else %doc README.md LICENSE +%endif %dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} %{gopath}/src/%{import_path} %changelog +* Wed May 20 2015 jchaloup - 0-0.2.git991a7a2 +- Bump to upstream 991a7a2fa7c073968fb27f36669df199b1fdf412 +- Remove runtime dependency on golang +- Add license macro + related: #1164176 + * Fri Nov 14 2014 jchaloup - 0-0.1.git2187ba6 - First package for Fedora resolves: #1164176 diff --git a/sources b/sources index 1445523..83a4251 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f0aed5a97aa5ba23b419e6f067262bbf netlink-2187ba6.tar.gz +df957adbce1dfdbe0b2908760a88b9bd netlink-991a7a2.tar.gz