|
|
3d948ae |
# Generated by go2rpm
|
|
|
3d948ae |
# Needs network
|
|
|
3d948ae |
%bcond_with check
|
|
|
3d948ae |
|
|
|
3d948ae |
# https://github.com/hashicorp/go-plugin
|
|
|
3d948ae |
%global goipath github.com/hashicorp/go-plugin
|
|
|
cf4aae7 |
Version: 1.4.0
|
|
|
3d948ae |
|
|
|
3d948ae |
%gometa
|
|
|
3d948ae |
|
|
|
3d948ae |
%global common_description %{expand:
|
|
|
3d948ae |
Go-plugin is a Go plugin system over RPC. It is the plugin system that has been
|
|
|
3d948ae |
in use by HashiCorp tooling for over 4 years. While initially created for
|
|
|
3d948ae |
Packer, it is additionally in use by Terraform, Nomad, and Vault.
|
|
|
3d948ae |
|
|
|
3d948ae |
While the plugin system is over RPC, it is currently only designed to work over
|
|
|
3d948ae |
a local [reliable] network. Plugins over a real network are not supported and
|
|
|
3d948ae |
will lead to unexpected behavior.}
|
|
|
3d948ae |
|
|
|
3d948ae |
%global golicenses LICENSE
|
|
|
3d948ae |
%global godocs docs examples README.md
|
|
|
3d948ae |
|
|
|
3d948ae |
Name: %{goname}
|
|
|
cf4aae7 |
Release: 1%{?dist}
|
|
|
3d948ae |
Summary: Go plugin system over rpc
|
|
|
3d948ae |
|
|
|
3d948ae |
# Upstream license specification: MPL-2.0
|
|
|
3d948ae |
License: MPLv2.0
|
|
|
3d948ae |
URL: %{gourl}
|
|
|
3d948ae |
Source0: %{gosource}
|
|
|
3d948ae |
|
|
|
3d948ae |
BuildRequires: golang(github.com/golang/protobuf/proto)
|
|
|
451efee |
BuildRequires: golang(github.com/golang/protobuf/ptypes/empty)
|
|
|
3d948ae |
BuildRequires: golang(github.com/hashicorp/go-hclog)
|
|
|
3d948ae |
BuildRequires: golang(github.com/hashicorp/yamux)
|
|
|
3d948ae |
BuildRequires: golang(github.com/mitchellh/go-testing-interface)
|
|
|
3d948ae |
BuildRequires: golang(github.com/oklog/run)
|
|
|
3d948ae |
BuildRequires: golang(golang.org/x/net/context)
|
|
|
3d948ae |
BuildRequires: golang(google.golang.org/grpc)
|
|
|
451efee |
BuildRequires: golang(google.golang.org/grpc/codes)
|
|
|
3d948ae |
BuildRequires: golang(google.golang.org/grpc/credentials)
|
|
|
3d948ae |
BuildRequires: golang(google.golang.org/grpc/health)
|
|
|
3d948ae |
BuildRequires: golang(google.golang.org/grpc/health/grpc_health_v1)
|
|
|
451efee |
BuildRequires: golang(google.golang.org/grpc/reflection)
|
|
|
451efee |
BuildRequires: golang(google.golang.org/grpc/status)
|
|
|
451efee |
|
|
|
451efee |
%if %{with check}
|
|
|
451efee |
# Tests
|
|
|
451efee |
BuildRequires: golang(github.com/jhump/protoreflect/grpcreflect)
|
|
|
451efee |
BuildRequires: golang(google.golang.org/grpc/reflection/grpc_reflection_v1alpha)
|
|
|
451efee |
%endif
|
|
|
3d948ae |
|
|
|
3d948ae |
%description
|
|
|
3d948ae |
%{common_description}
|
|
|
3d948ae |
|
|
|
3d948ae |
%gopkg
|
|
|
3d948ae |
|
|
|
3d948ae |
%prep
|
|
|
3d948ae |
%goprep
|
|
|
3d948ae |
|
|
|
3d948ae |
%install
|
|
|
3d948ae |
%gopkginstall
|
|
|
3d948ae |
|
|
|
3d948ae |
%if %{with check}
|
|
|
3d948ae |
%check
|
|
|
3d948ae |
%gocheck
|
|
|
3d948ae |
%endif
|
|
|
3d948ae |
|
|
|
3d948ae |
%gopkgfiles
|
|
|
3d948ae |
|
|
|
3d948ae |
%changelog
|
|
|
cf4aae7 |
* Sun Dec 20 08:30:19 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.4.0-1
|
|
|
cf4aae7 |
- Update to 1.4.0
|
|
|
cf4aae7 |
- Close: rhbz#1895551
|
|
|
cf4aae7 |
|
|
|
f95b103 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
|
|
f95b103 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
f95b103 |
|
|
|
451efee |
* Mon Jul 27 21:03:08 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.0-1
|
|
|
451efee |
- Update to 1.3.0
|
|
|
451efee |
|
|
|
93b9055 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
|
|
|
93b9055 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
93b9055 |
|
|
|
80d6c17 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
|
|
|
80d6c17 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
80d6c17 |
|
|
|
a89a1c9 |
* Tue Jul 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.0-3
|
|
|
a89a1c9 |
- Add Obsoletes for old name
|
|
|
a89a1c9 |
|
|
|
3d948ae |
* Tue Apr 30 20:37:49 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.0-2
|
|
|
3d948ae |
- Update to new macros
|
|
|
3d948ae |
|
|
|
3d948ae |
* Wed Apr 10 14:05:19 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.0-1
|
|
|
3d948ae |
- Release 1.0.0
|
|
|
3d948ae |
|
|
|
3d948ae |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4.20171028git3e6d191
|
|
|
3d948ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
3d948ae |
|
|
|
3d948ae |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.20171028git3e6d191
|
|
|
3d948ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
3d948ae |
|
|
|
3d948ae |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2.20171028git3e6d191
|
|
|
3d948ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3d948ae |
|
|
|
3d948ae |
* Sat Oct 07 2017 Ed Marshall <esm@logic.net> - 0-0.1.20171028git3e6d191
|
|
|
3d948ae |
- First package for Fedora
|