## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 16; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # 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 62d0308e3e0068bcd33c1b6461384e93afb7be9c %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: %autorelease Summary: Get queuing discipline information via netlink License: MIT URL: %{gourl} Source0: %{gosource} 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 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0-0.11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0-0.10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0-0.9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jul 26 16:19:17 CEST 2020 Robert-André Mauchin - 0-0.8.20200726git62d0308 - Bump to commit 62d0308e3e0068bcd33c1b6461384e93afb7be9c * Wed Jan 29 2020 Fedora Release Engineering - 0-0.7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0-0.6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * 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