9b5f68a
# Generated by go2rpm 1.10.0
f810ae8
# Tests fail on s390x possibly due to endianess, for more info
f810ae8
# See: https://github.com/mdlayher/netlink/issues/77
f810ae8
%ifnarch s390x
f810ae8
%bcond_without check
f810ae8
%endif
9b5f68a
%global debug_package %{nil}
f810ae8
f810ae8
# https://github.com/ema/qdisc
f810ae8
%global goipath         github.com/ema/qdisc
9b5f68a
Version:                1.0.0
9b5f68a
9b5f68a
%gometa -L -f
f810ae8
f810ae8
f810ae8
%global common_description %{expand:
f810ae8
Package qdisc allows to get queuing discipline information via netlink,
f810ae8
similarly to what tc (from iproute2) does.}
f810ae8
f810ae8
%global golicenses      LICENSE.md
f810ae8
%global godocs          README.md
f810ae8
9b5f68a
Name:           golang-github-ema-qdisc
f2cfbf4
Release:        %autorelease
f810ae8
Summary:        Get queuing discipline information via netlink
f810ae8
f810ae8
License:        MIT
f810ae8
URL:            %{gourl}
9b5f68a
Source:         %{gosource}
f810ae8
9b5f68a
%description %{common_description}
f810ae8
f810ae8
%gopkg
f810ae8
f810ae8
%prep
f810ae8
%goprep
9b5f68a
%autopatch -p1
9b5f68a
9b5f68a
%generate_buildrequires
9b5f68a
%go_generate_buildrequires
f810ae8
f810ae8
%install
f810ae8
%gopkginstall
f810ae8
f810ae8
%if %{with check}
f810ae8
%check
f810ae8
%gocheck
f810ae8
%endif
f810ae8
f810ae8
%gopkgfiles
f810ae8
f810ae8
%changelog
f2cfbf4
%autochangelog