# Generated by go2rpm %bcond_without check # https://github.com/codahale/aesnicheck %global goipath github.com/codahale/aesnicheck %global commit 349fcc471aaccc29cd074e1275f1a494323826cd %gometa %global common_description %{expand: Aesnicheck provides a function for checking to see if the host machine has AES-NI support.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Go library for checking AES-NI support 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 * Mon Jun 03 19:23:42 CEST 2019 Robert-André Mauchin - 0-0.6.20181114git349fcc4 - Update to new macros * Thu Jan 31 2019 Fedora Release Engineering - 0-0.5.git349fcc4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Nov 14 2018 Robert-André Mauchin - 0-0.4.20181114git349fcc4 - Bump to commit 349fcc471aaccc29cd074e1275f1a494323826cd - Update to new Go packaging * Fri Jul 13 2018 Fedora Release Engineering - 0-0.3.20140702git349fcc4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0-0.2.20140702git349fcc4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Sep 06 2017 Clément David - 0-0.1.20140702git349fcc4 - Initial package for Fedora