# Generated by go2rpm # Tests fail on s390x possibly due to endianess, for more info # See: https://github.com/mdlayher/netlink/issues/77 %ifnarch s390x %bcond_without check %endif # https://github.com/ema/qdisc %global goipath github.com/ema/qdisc %global commit b307c22d3ce761d351b6e6270b50195b44ee9248 %gometa %global common_description %{expand: Package qdisc allows to get queuing discipline information via netlink, similarly to what tc (from iproute2) does.} %global golicenses LICENSE.md %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Get queuing discipline information via netlink License: MIT URL: %{gourl} Source0: %{gosource} # Update library for current netlink Patch0: https://patch-diff.githubusercontent.com/raw/ema/qdisc/pull/3.patch#/0001-Update-library-for-current-netlink.patch BuildRequires: golang(github.com/mdlayher/netlink) BuildRequires: golang(github.com/mdlayher/netlink/nlenc) %if %{with check} # Tests BuildRequires: golang(github.com/mdlayher/netlink/nltest) %endif %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu May 23 19:41:53 CEST 2019 Robert-André Mauchin - 0-0.5.20180508gitb307c22 - Update to new macros * Fri Feb 01 2019 Fedora Release Engineering - 0-0.4.gitb307c22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 23 2018 Nicolas Mailhot - 0-0.3.gitb307c22 - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ * Fri Jul 13 2018 Fedora Release Engineering - 0-0.2.gitb307c22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue May 08 2018 Paul Gier - 0-0.1.20180508gitb307c22 - First package for Fedora