Blame golang-github-openapi-strfmt.spec

c61f8d5
# Generated by go2rpm
c61f8d5
%bcond_without check
c61f8d5
c61f8d5
# https://github.com/go-openapi/strfmt
c61f8d5
%global goipath         github.com/go-openapi/strfmt
Packit 7303bd6
Version:                0.22.2
c61f8d5
c61f8d5
%gometa
c61f8d5
c61f8d5
%global common_description %{expand:
c61f8d5
This package exposes a registry of data types to support string formats in the
c61f8d5
Go-openapi toolkit.
c61f8d5
c61f8d5
Strfmt represents a well known string format such as credit card or email. The
c61f8d5
go toolkit for OpenAPI specifications knows how to deal with those.}
c61f8d5
c61f8d5
%global golicenses      LICENSE
c61f8d5
%global godocs          CODE_OF_CONDUCT.md README.md
c61f8d5
c61f8d5
Name:           %{goname}
5dd6958
Release:        %autorelease
c61f8d5
Summary:        Openapi toolkit common string formats
c61f8d5
c61f8d5
# Upstream license specification: Apache-2.0
c61f8d5
License:        ASL 2.0
c61f8d5
URL:            %{gourl}
c61f8d5
Source0:        %{gosource}
c61f8d5
c61f8d5
BuildRequires:  golang(github.com/asaskevich/govalidator)
c61f8d5
BuildRequires:  golang(github.com/go-openapi/errors)
c61f8d5
BuildRequires:  golang(github.com/mitchellh/mapstructure)
Packit 7303bd6
BuildRequires:  golang(github.com/oklog/ulid)
d665c0e
BuildRequires:  golang(go.mongodb.org/mongo-driver/bson)
d665c0e
BuildRequires:  golang(go.mongodb.org/mongo-driver/bson/bsontype)
d665c0e
BuildRequires:  golang(go.mongodb.org/mongo-driver/bson/primitive)
c61f8d5
c61f8d5
%if %{with check}
c61f8d5
# Tests
c61f8d5
BuildRequires:  golang(github.com/google/uuid)
c61f8d5
BuildRequires:  golang(github.com/stretchr/testify/assert)
c61f8d5
%endif
c61f8d5
c61f8d5
%description
c61f8d5
%{common_description}
c61f8d5
c61f8d5
%gopkg
c61f8d5
c61f8d5
%prep
c61f8d5
%goprep
c61f8d5
c61f8d5
%install
c61f8d5
%gopkginstall
c61f8d5
c61f8d5
%if %{with check}
c61f8d5
%check
c61f8d5
%gocheck
c61f8d5
%endif
c61f8d5
c61f8d5
%gopkgfiles
c61f8d5
c61f8d5
%changelog
5dd6958
%autochangelog