Files
2025-01-20 00:39:19 +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/go-language-server/uri
%global goipath go.lsp.dev/uri
%global forgeurl https://github.com/go-language-server/uri
Version: 0.3.0
%gometa -f
%global common_description %{expand:
Package uri is an implementation of the URI Uniform Resource
Identifier(RFC3986) specification for Go.}
%global golicenses LICENSE
%global godocs README.md hack/boilerplate/boilerplate.go.txt
Name: golang-lsp-uri
Release: %autorelease
Summary: Package uri is an implementation of the URI Uniform Resource Identifier(RFC3986) specification for Go
License: BSD-3-Clause
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