Blame golang-github-ema-qdisc.spec

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