# Generated by go2rpm 1.19.0 %bcond check 1 # https://github.com/letsencrypt/challtestsrv %global goipath github.com/letsencrypt/challtestsrv/v1 Version: 1.4.2 %gometa -L -f Name: challtestsrv Release: %autorelease Summary: Small TEST-ONLY server for mock DNS & responding to HTTP-01, DNS-01, and TLS-ALPN-01 ACME challenges # Generated by go-vendor-tools License: BSD-3-Clause AND MPL-2.0 URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml BuildRequires: go-vendor-tools #BuildRequires: golang-github-miekg-dns-devel %description Small TEST-ONLY server for mock DNS & responding to HTTP-01, DNS-01, and TLS- ALPN-01 ACME challenges. %prep %goprep -p1 tar -xf %{S:1} %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %install %go_vendor_license_install -c %{S:2} %check %go_vendor_license_check -c %{S:2} %if %{with check} %gotest ./... %endif %changelog %autochangelog