%bcond_without check %global goipath github.com/ema/qdisc %global commit b307c22d3ce761d351b6e6270b50195b44ee9248 Version: 0 %global common_description %{expand: Package qdisc allows to get queuing discipline information via netlink, similar to what tc (from iproute2) does.} %gometa Name: %{goname} Release: 0.1%{?dist} Summary: qdisc allows to get queuing discipline information via netlink License: MIT URL: %{gourl} Source: %{gosource} BuildRequires: golang(github.com/mdlayher/netlink) %description %{common_description} %package devel Summary: %{summary} %description devel %{common_description} This package contains the source code needed for building packages that import the %{goipath} Go namespace. %prep %gosetup -q rm -rf vendor %install %goinstall %check %if %{with check} %ifnarch s390x %gochecks %endif %endif %files devel -f devel.file-list %license LICENSE.md %doc *\.md %changelog * Tue May 08 2018 Paul Gier - 0-0.1.20180508gitb307c22 - First package for Fedora