# Generated by go2rpm
%bcond_without check
# https://github.com/go-openapi/strfmt
%global goipath github.com/go-openapi/strfmt
Version: 0.19.11
%gometa
%global common_description %{expand:
This package exposes a registry of data types to support string formats in the
Go-openapi toolkit.
Strfmt represents a well known string format such as credit card or email. The
go toolkit for OpenAPI specifications knows how to deal with those.}
%global golicenses LICENSE
%global godocs CODE_OF_CONDUCT.md README.md
Name: %{goname}
Release: 4%{?dist}
Summary: Openapi toolkit common string formats
# Upstream license specification: Apache-2.0
License: ASL 2.0
URL: %{gourl}
Source0: %{gosource}
BuildRequires: golang(github.com/asaskevich/govalidator)
BuildRequires: golang(github.com/go-openapi/errors)
BuildRequires: golang(github.com/mitchellh/mapstructure)
BuildRequires: golang(go.mongodb.org/mongo-driver/bson)
BuildRequires: golang(go.mongodb.org/mongo-driver/bson/bsontype)
BuildRequires: golang(go.mongodb.org/mongo-driver/bson/primitive)
%if %{with check}
# Tests
BuildRequires: golang(github.com/google/uuid)
BuildRequires: golang(github.com/stretchr/testify/assert)
%endif
%description
%{common_description}
%gopkg
%prep
%goprep
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Dec 21 08:46:01 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.19.11-1
- Update to 0.19.11
- Close: rhbz#1887028
* Thu Jul 30 17:08:40 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.19.5-1
- Update to 0.19.5
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat May 11 04:54:31 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.19.0-1
- Initial package