# Generated by go2rpm
%bcond_without check
# https://github.com/satori/go.uuid
%global goipath github.com/satori/go.uuid
%global commit b2ce2384e17bbe0c6d34077efa39dbab3e09123b
%gometa
%global common_description %{expand:
This package provides pure Go implementation of Universally Unique Identifier
(UUID). Supported both creation and parsing of UUIDs.
With 100% test coverage and benchmarks out of box.
Supported versions:
- Version 1, based on timestamp and MAC address (RFC 4122)
- Version 2, based on timestamp, MAC address and POSIX UID/GID (DCE 1.1)
- Version 3, based on MD5 hashing (RFC 4122)
- Version 4, based on random numbers (RFC 4122)
- Version 5, based on SHA-1 hashing (RFC 4122)}
%global golicenses LICENSE
%global godocs README.md
Name: %{goname}
Version: 1.2.0
Release: 8%{?dist}
Summary: UUID package for Go
License: MIT
URL: %{gourl}
Source0: %{gosource}
%if %{with check}
# Tests
BuildRequires: golang(gopkg.in/check.v1)
%endif
%description
%{common_description}
%gopkg
%prep
%goprep
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Dec 05 19:38:56 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.0-6.20191205gitb2ce238
- Bump to commit b2ce2384e17bbe0c6d34077efa39dbab3e09123b (#1779731)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Apr 25 16:08:46 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.0-4
- Update to new macros
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Mar 26 2018 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.0-1
- First package for Fedora