# Generated by go2rpm %bcond_without check # https://github.com/krolaw/dhcp4 %global goipath github.com/krolaw/dhcp4 %global commit 7cead472c414711982509839c1a6a324d4c70ce6 %gometa %global common_description %{expand: IPv4 DHCP library for parsing and creating DHCP packets, along with basic DHCP server functionality.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.2%{?dist} Summary: DHCP4 library written in Go # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(golang.org/x/net/ipv4) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed May 29 17:29:17 CEST 2019 Robert-André Mauchin - 0-0.2.20190325git7cead47 - Update to new macros * Thu Nov 15 2018 Robert-André Mauchin - 0-0.1.20190325git7cead47 - First package for Fedora