# Generated by go2rpm
%bcond_without check
# https://github.com/klauspost/crc32
%global goipath github.com/klauspost/crc32
Version: 1.2.0
%gometa
%global common_description %{expand:
CRC32 hash with x64 optimizations.}
%global golicenses LICENSE
%global godocs README.md
%global gosupfiles glide.lock glide.yaml
Name: %{goname}
Release: 3%{?dist}
Summary: CRC32 hash with x64 optimizations
# Upstream license specification: BSD-3-Clause
License: BSD
URL: %{gourl}
Source0: %{gosource}
Source1: glide.yaml
Source2: glide.lock
%description
%{common_description}
%gopkg
%prep
%goprep
cp %{S:1} %{S:2} .
%install
%gopkginstall
# Remove in F33
# Remove erroneous glide.lock folder
%pretrans devel -p <lua>
path = "%{gopath}/src/%{goipath}/glide.lock"
st = posix.stat(path)
if st and st.type == "directory" then
os.remove(path)
end
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Jun 04 15:25:42 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.0-2
- Update to new macros
* Wed Apr 03 19:42:24 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.0-1
- Release 1.2.0 (#1695226)
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.13.git89873b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 0-0.12.git89873b5
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.11.git89873b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Jun 17 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.10.git89873b5
- Upload glide files
* Thu Mar 01 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.9.20160114git89873b5
- Autogenerate some parts using the new macros
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.8.git89873b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.7.git89873b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6.git89873b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.5.git89873b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Aug 17 2016 jchaloup <jchaloup@redhat.com> - 0-0.4.git89873b5
- Enable devel and unit-test for epel7
related: #1358943
* Mon Aug 15 2016 jchaloup <jchaloup@redhat.com> - 0-0.3.git89873b5
- Bump to upstream 89873b58f19dea110d68c709d6dd7928601ffb18
resolves: #1358943
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.2.gita3b15ae
- https://fedoraproject.org/wiki/Changes/golang1.7
* Fri Apr 15 2016 jchaloup <jchaloup@redhat.com> - 0-0.1.gita3b15ae
- First package for Fedora
resolves: #1327526