mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-21 19:10:39 +00:00
feat: xyproto-env (v1) (#286)
This commit is contained in:
@@ -6,16 +6,6 @@
|
||||
%global goipath github.com/xyproto/env
|
||||
Version: 2.0.0
|
||||
|
||||
# REMOVE BEFORE SUBMITTING THIS FOR REVIEW
|
||||
# ---
|
||||
# New Fedora packages should use %%gometa -f, which makes the package
|
||||
# ExclusiveArch to %%golang_arches_future and thus excludes the package from
|
||||
# %%ix86. If the new package is needed as a dependency for another pacage,
|
||||
# please consider removing that package from %%ix86 in the same way, instead of
|
||||
# building more go packages for i686. If your package is not a leaf package,
|
||||
# you'll need to coordinate the removal of the package's dependents first.
|
||||
# ---
|
||||
# REMOVE BEFORE SUBMITTING THIS FOR REVIEW
|
||||
%gometa -f
|
||||
|
||||
%global common_description %{expand:
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "golang-github-xyproto-env.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
# Generated by go2rpm 1.8.2
|
||||
%bcond_without check
|
||||
%global debug_package %{nil}
|
||||
|
||||
# https://github.com/xyproto/env
|
||||
%global goipath github.com/xyproto/env
|
||||
Version: 1.9.1
|
||||
|
||||
%gometa -f
|
||||
|
||||
%global common_description %{expand:
|
||||
Provide default values when fetching environment variables.}
|
||||
|
||||
%global golicenses LICENSE
|
||||
%global godocs README.md
|
||||
|
||||
Name: golang-%{goname}
|
||||
Release: 1%{?dist}
|
||||
Summary: Provide default values when fetching environment variables
|
||||
|
||||
License: BSD-3-Clause
|
||||
URL: %{gourl}
|
||||
Source: %{gosource}
|
||||
|
||||
%description %{common_description}
|
||||
|
||||
%gopkg
|
||||
|
||||
%prep
|
||||
%goprep
|
||||
|
||||
%generate_buildrequires
|
||||
%go_generate_buildrequires
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%gopkginstall
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%gocheck
|
||||
%endif
|
||||
|
||||
%gopkgfiles
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Reference in New Issue
Block a user