Blob Blame History Raw
# Generated by go2rpm 1
# Needs network
%bcond_with check

# https://github.com/mdlayher/netlink
%global goipath         github.com/mdlayher/netlink
%global commit          0087c778e46953b58a4434583a8274f8e8aa2b78

%global common_description %{expand:
Package netlink provides low-level access to Linux netlink sockets.}

%gometa

Name:           %{goname}
Version:        0
Release:        0.4%{?dist}
Summary:        Low-level access to Linux netlink sockets

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(golang.org/x/net/bpf)
BuildRequires:  golang(golang.org/x/sys/unix)

%if %{with check}
# Tests
BuildRequires:  golang(github.com/google/go-cmp/cmp)
%endif

%description
%{common_description}

%package devel
Summary:       %{summary}
BuildArch:     noarch

%description devel
%{common_description}

This package contains library source intended for
building other packages which use import path with
%{goipath} prefix.

%prep
%forgeautosetup -p1
rm -rf vendor

%install
%goinstall

%if %{with check}
%check
%gochecks
%endif

%files devel -f devel.file-list
%license LICENSE.md
%doc README.md

%changelog
* Mon Jul 29 20:03:52 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.4.20190729git0087c77
- Bump to commit 0087c778e46953b58a4434583a8274f8e8aa2b78

* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.git4883a4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Mon May 14 2018 Paul Gier <pgier@redhat.com> - 0-0.2.20180514git4883a4e
- Remove special handling of s390x

* Tue May 08 2018 Paul Gier <pgier@redhat.com> - 0-0.1.20180508gitdc21697
- First package for Fedora