Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/mdlayher/raw
%global goipath         github.com/mdlayher/raw
%global commit          64193704e47285d33feb098cd01306301cdeba4b

%gometa

%global common_description %{expand:
Package Raw enables reading and writing data at the device driver level for a
network interface.}

%global golicenses      LICENSE.md
%global godocs          README.md

Name:           %{goname}
Version:        0
Release:        0.6%{?dist}
Summary:        Read and write data at the device driver level for a network interface

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}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Sun Jun 02 17:51:08 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.4.20190602git6419370
- Bump to commit 64193704e47285d33feb098cd01306301cdeba4b

* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.gitfa5ef33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Fri Nov 30 2018 mskalick@redhat.com - 0-0.2.20181126gitfa5ef33
- Fix issues reported during review

* Mon Nov 26 2018 mskalick@redhat.com - 0-0.1.20181126gitfa5ef33
- First package for Fedora