# Generated by go2rpm %bcond_without check # https://github.com/calmh/xdr %global goipath github.com/calmh/xdr Version: 1.1.0 %gometa %global common_description %{expand: This is an XDR marshalling/unmarshalling library. It uses code generation and not reflection.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Epoch: 1 Release: 4%{?dist} Summary: Go XDR enc/decoder 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 23 23:16:51 CEST 2019 Robert-André Mauchin - 1:1.1.0-4 - Update to new macros * Thu Jan 31 2019 Fedora Release Engineering - 1:1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 24 2018 Fabio Valentini - 1:1.1.0-2 - Use standard GitHub SourceURL again for consistency between releases. - Use forgeautosetup instead of gosetup. * Wed Aug 15 2018 Fabio Valentini - 1:1.1.0-1 - Update to 'new' version 1.1.0. - Update to spec 3.0. * Fri Jul 13 2018 Fedora Release Engineering - 2.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 2.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 2.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Apr 06 2017 Fabio Valentini - 2.0.1-1 - Update to version 2.0.1. * Wed Mar 01 2017 Fabio Valentini - 2.0.0-0.1.git08e072f - First package for Fedora