# Generated by go2rpm
# Needs access to /dev/mem, not available in chroot
%bcond_with check
# https://github.com/mrunalp/fileutils
%global goipath github.com/mrunalp/fileutils
%global commit abd8a0e7697675e96f030dde7a43359d67369dcb
%gometa
%global common_description %{expand:
Collection of utilities for file manipulation in Go.}
%global golicenses LICENSE
%global godocs README.md
Name: %{goname}
Version: 0
Release: 0.5%{?dist}
Summary: Collection of utilities for file manipulation in Go
# Upstream license specification: Apache-2.0
License: ASL 2.0
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
* Wed Jul 29 23:42:44 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.5.20200729gitabd8a0e
- Bump to commit abd8a0e7697675e96f030dde7a43359d67369dcb
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat May 04 17:35:57 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190627git7d4729f
- Initial package