Files
golang-github-letsencrypt-v…/golang-github-letsencrypt-validator-10.spec
2025-01-19 22:28:52 +01:00

59 lines
1.2 KiB
RPMSpec

# Generated by go2rpm 1.15.0
%bcond check 1
%bcond bootstrap 0
%global debug_package %{nil}
%if %{with bootstrap}
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
%endif
# https://github.com/letsencrypt/validator
%global goipath github.com/letsencrypt/validator/v10
%global commit 2ed8f7d619aca77c29bca2a743425a322e2dd789
%gometa -f
%global common_description %{expand:
Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice
and Array diving.}
%global golicenses LICENSE
%global godocs _examples MAINTAINERS.md README.md
Name: golang-github-letsencrypt-validator-10
Version: 0
Release: %autorelease -p
Summary: Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
License: MIT
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep -A
%autopatch -p1 -q
%if %{without bootstrap}
%generate_buildrequires
%go_generate_buildrequires
%endif
%install
%gopkginstall
%if %{without bootstrap}
%if %{with check}
%check
%gocheck
%endif
%endif
%gopkgfiles
%changelog
%autochangelog