# Generated by go2rpm %bcond_without check # https://github.com/cpu/goacmedns %global goipath github.com/cpu/goacmedns Version: 0.0.1 %gometa %global common_description %{expand: A Go library to handle acme-dns client communication and persistent account storage.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 3%{?dist} Summary: Go library to handle acme-dns client communication License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog * Thu May 02 18:38:58 CEST 2019 Robert-André Mauchin - 0.0.1-3 - Update to new macros * Thu Jan 31 2019 Fedora Release Engineering - 0.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Nov 16 2018 Carl George - 0.0.1-1 - Initial package