# Generated by go2rpm %bcond_without check %global debug_package %{nil} # https://github.com/go-playground/validator %global goipath github.com/go-playground/validator/v10 %global forgeurl https://github.com/go-playground/validator Version: 10.10.0 %gometa %global goaltipaths gopkg.in/go-playground/validator.v10 %global common_description %{expand: Package Validator implements value validations for structs and individual fields based on tags. It can also handle Cross-Field and Cross-Struct validation for nested structs and has the ability to dive into arrays and maps of any type.} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: %autorelease Summary: Go struct and field validation License: MIT URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-github-playground-validator-10 = %{version}-%{release} Obsoletes: golang-github-playground-validator-10 < 10.10.0-5 %global godevelheader %{expand: Provides: golang-github-playground-validator-10-devel = %{version}-%{release} Obsoletes: golang-github-playground-validator-10-devel < 10.10.0-5} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog