diff --git a/.gitignore b/.gitignore index ac16fde..c00e391 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /grpc-go-1.10.0.tar.gz /grpc-go-1.18.0.tar.gz +/grpc-go-1.20.1.tar.gz +/grpc-go-1.21.1.tar.gz diff --git a/golang-github-grpc-grpc-go.spec b/golang-github-grpc-grpc-go.spec deleted file mode 100644 index e1fdb41..0000000 --- a/golang-github-grpc-grpc-go.spec +++ /dev/null @@ -1,178 +0,0 @@ -# Bootstrap needed to avoid circular dep -%bcond_with bootstrap -# Run tests in check -# Disabled for bootstrapping -%bcond_without check - -# http://github.com/grpc/grpc-go -%global forgeurl https://github.com/grpc/grpc-go -%global goipath google.golang.org/grpc -Version: 1.18.0 - -%gometa - -Name: golang-github-grpc-grpc-go -Release: 2%{?dist} -Summary: The Go language implementation of gRPC. HTTP/2 based RPC -License: BSD -URL: %{gourl} -Source0: %{gosource} -Source1: glide.yaml -Source2: glide.lock - -%description -%{summary} - -%package devel -Summary: %{summary} - -BuildRequires: golang(github.com/golang/glog) -BuildRequires: golang(github.com/golang/mock/gomock) -BuildRequires: golang(golang.org/x/net/context) -BuildRequires: golang(golang.org/x/net/http2) -BuildRequires: golang(golang.org/x/net/http2/hpack) -BuildRequires: golang(golang.org/x/net/trace) -%if %{without bootstrap} -BuildRequires: golang(github.com/golang/protobuf/proto) -BuildRequires: golang(github.com/golang/protobuf/protoc-gen-go/descriptor) -BuildRequires: golang(github.com/golang/protobuf/ptypes) -BuildRequires: golang(golang.org/x/oauth2) -BuildRequires: golang(golang.org/x/oauth2/google) -BuildRequires: golang(golang.org/x/oauth2/jwt) -BuildRequires: golang(google.golang.org/genproto/googleapis/rpc/status) -%endif - -%description devel -%{summary} - -This package contains library source intended for -building other packages which use import path with -%{goipath} prefix. - -%prep -%forgesetup - -%if %{with bootstrap} -rm encoding/proto/proto.go -grep --include=\*.go -lrnw . -e "github\.com\/golang\/protobuf" | xargs rm -grep --include=\*.go -lrnw . -e "golang\.org\/x\/oauth2" | xargs rm -grep --include=\*.go -lrnw . -e "google\.golang\.org\/genproto" | xargs rm -%endif - -%install -%goinstall glide.lock glide.yaml - -%check -%gochecks -d test -d . -d transport -d credentials/alts - -#define license tag if not already defined -%{!?_licensedir:%global license %doc} - -%files devel -f devel.file-list -%license LICENSE -%doc README.md CONTRIBUTING.md - -%changelog -* Sat Mar 09 2019 Robert-André Mauchin - 1.18.0-2 -- Unbootstrap - -* Mon Feb 25 2019 Robert-André Mauchin - 1.18.0-1 -- Update to release v1.18.0 - -* Fri Feb 01 2019 Fedora Release Engineering - 1.10.0-5.git8e4536a -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Tue Oct 23 2018 Nicolas Mailhot - 1.10.0-4 -- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias -- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ - -* Fri Jul 13 2018 Fedora Release Engineering - 1.10.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 12 2018 Jan Chaloupka - 1.10.0-2 -- Upload glide files - -* Wed May 09 2018 Jan Chaloupka - 1.10.0-1 -- Update to v1.10.0 - resolves: #1423649 - -* Sat Mar 24 2018 Robert-André Mauchin - 1.0.0-0.11.20180324gitbdb0727 -- Bump to 5b3c4e850e90a4cf6a20ebd46c8b32a0a3afcb9e - -* Thu Mar 08 2018 Jan Chaloupka - 1.0.0-0.10.git5b3c4e8 -- Bump to 5b3c4e850e90a4cf6a20ebd46c8b32a0a3afcb9e - related: #1250461 - -* Wed Feb 28 2018 Jan Chaloupka - 1.0.0-0.9.20170407git8050b9c -- Autogenerate some parts using the new macros - -* Wed Feb 07 2018 Fedora Release Engineering - 1.0.0-0.8.git8050b9c -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Fri Sep 22 2017 Jan Chaloupka - 1.0.0-0.7.git8050b9c -- Bump to upstream 8050b9cbc271307e5a716a9d782803d09b0d6f2d - related: #1250461 - -* Wed Aug 02 2017 Fedora Release Engineering - 1.0.0-0.6.git777daa1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 1.0.0-0.5.git777daa1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Thu Mar 16 2017 Jan Chaloupka - 1.0.0-0.4.git777daa1 -- Bump to upstream 777daa17ff9b5daef1cfdf915088a2ada3332bf0 - related: #1250461 - -* Fri Feb 10 2017 Fedora Release Engineering - 1.0.0-0.3.git231b4cf -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Dec 15 2016 Jan Chaloupka - 1.0.0-0.2.git231b4cf -- Polish the spec file - related: #1250461 - -* Thu Sep 15 2016 jchaloup - 1.0.0-0.1.git231b4cf -- Bump to upstream 231b4cfea0e79843053a33f5fe90bd4d84b23cd3 - related: #1250461 - -* Mon Aug 08 2016 jchaloup - 0-0.11.git02fca89 -- Give back example provides, they are actually used by golang-github-cockroachdb-cmux-unit-test-devel - related: #1250461 - -* Wed Aug 03 2016 jchaloup - 0-0.10.git02fca89 -- Bump to upstream 02fca896ff5f50c6bbbee0860345a49344b37a03 - related: #1250461 - -* Mon Aug 01 2016 jchaloup - 0-0.9.gite78224b -- Bump to upstream e78224b060cf3215247b7be455f80ea22e469b66 - related: #1250461 - -* Thu Jul 21 2016 Fedora Release Engineering - 0-0.8.gitb062a3c -- https://fedoraproject.org/wiki/Changes/golang1.7 - -* Sun May 15 2016 jchaloup - 0-0.7.gitb062a3c -- Bump to upstream b062a3c003c22bfef58fa99d689e6a892b408f9d - related: #1250461 - -* Tue Mar 22 2016 jchaloup - 0-0.6.gitb88c12e -- Bump to upstream b88c12e7caf74af3928de99a864aaa9916fa5aad - related: #1250461 - -* Mon Feb 22 2016 Fedora Release Engineering - 0-0.5.gite29d659 -- https://fedoraproject.org/wiki/Changes/golang1.6 - -* Thu Feb 18 2016 jchaloup - 0-0.4.gite29d659 -- Bump to upstream e29d659177655e589850ba7d3d83f7ce12ef23dd - related: #1250461 - -* Wed Feb 03 2016 Fedora Release Engineering - 0-0.3.gitd286668 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Sat Sep 12 2015 jchaloup - 0-0.2.gitd286668 -- Update to spec-2.1 - resolves: #1250461 - -* Tue Jul 28 2015 jchaloup - 0-0.1.gitd286668 -- First package for Fedora - resolves: #1246205 - -internal/transport/http_util.go diff --git a/golang-google-grpc.spec b/golang-google-grpc.spec new file mode 100644 index 0000000..e68a282 --- /dev/null +++ b/golang-google-grpc.spec @@ -0,0 +1,195 @@ +# Generated by go2rpm +%bcond_without check +%bcond_without bootstrap + +# https://github.com/grpc/grpc-go +%global goipath google.golang.org/grpc +%global forgeurl https://github.com/grpc/grpc-go +Version: 1.21.1 + +%gometa + +%global goipaths0 google.golang.org/grpc +%global goipathsex0 google.golang.org/grpc/status google.golang.org/grpc/test google.golang.org/grpc/internal/transport google.golang.org/grpc/balancer/xds/internal/proto/envoy/api/v2 + +%if %{without bootstrap} +%global goipaths1 google.golang.org/grpc/status google.golang.org/grpc/test google.golang.org/grpc/internal/transport google.golang.org/grpc/balancer/xds/internal/proto/envoy/api/v2 +%endif + +%global common_description %{expand: +The Go language implementation of GRPC, http/2 based rpc.} + +%global golicenses LICENSE +%global godocs examples AUTHORS CONTRIBUTING.md README.md Documentation + +%global gosupfiles glide.lock glide.yaml + +Name: %{goname} +Release: 1%{?dist} +Summary: Go language implementation of GRPC + +# Upstream license specification: Apache-2.0 +License: ASL 2.0 +URL: %{gourl} +Source0: %{gosource} +Source1: glide.yaml +Source2: glide.lock + +BuildRequires: golang(github.com/golang/glog) +BuildRequires: golang(github.com/golang/mock/gomock) +BuildRequires: golang(github.com/golang/protobuf/proto) +BuildRequires: golang(github.com/golang/protobuf/protoc-gen-go/descriptor) +BuildRequires: golang(github.com/golang/protobuf/ptypes) +BuildRequires: golang(github.com/golang/protobuf/ptypes/any) +BuildRequires: golang(github.com/golang/protobuf/ptypes/duration) +BuildRequires: golang(github.com/golang/protobuf/ptypes/empty) +BuildRequires: golang(github.com/golang/protobuf/ptypes/struct) +BuildRequires: golang(github.com/golang/protobuf/ptypes/timestamp) +BuildRequires: golang(github.com/golang/protobuf/ptypes/wrappers) +BuildRequires: golang(golang.org/x/net/context) +BuildRequires: golang(golang.org/x/net/http2) +BuildRequires: golang(golang.org/x/net/http2/hpack) +BuildRequires: golang(golang.org/x/net/trace) +BuildRequires: golang(golang.org/x/oauth2) +BuildRequires: golang(golang.org/x/oauth2/google) +BuildRequires: golang(golang.org/x/oauth2/jwt) +BuildRequires: golang(golang.org/x/sys/unix) +%if %{without bootstrap} +BuildRequires: golang(google.golang.org/genproto/googleapis/api/annotations) +BuildRequires: golang(google.golang.org/genproto/googleapis/rpc/errdetails) +BuildRequires: golang(google.golang.org/genproto/googleapis/rpc/status) + +%if %{with check} +# Tests +BuildRequires: golang(github.com/google/go-cmp/cmp) +BuildRequires: golang(google.golang.org/genproto/googleapis/rpc/code) +%endif +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep +cp %{S:1} %{S:2} . + +%install +%gopkginstall + +%if %{without bootstrap} +%if %{with check} +%check +# balancer/grpclb: needs network +%gocheck -d balancer/grpclb +%endif +%endif + +%gopkgfiles + +%changelog +* Tue Apr 23 15:38:52 CEST 2019 Robert-André Mauchin - 1.21.1-1 +- Release 1.21.1 + +* Sat Mar 09 2019 Robert-André Mauchin - 1.18.0-2 +- Unbootstrap + +* Mon Feb 25 2019 Robert-André Mauchin - 1.18.0-1 +- Update to release v1.18.0 + +* Fri Feb 01 2019 Fedora Release Engineering - 1.10.0-5.git8e4536a +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Oct 23 2018 Nicolas Mailhot - 1.10.0-4 +- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias +- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ + +* Fri Jul 13 2018 Fedora Release Engineering - 1.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 12 2018 Jan Chaloupka - 1.10.0-2 +- Upload glide files + +* Wed May 09 2018 Jan Chaloupka - 1.10.0-1 +- Update to v1.10.0 + resolves: #1423649 + +* Sat Mar 24 2018 Robert-André Mauchin - 1.0.0-0.11.20180324gitbdb0727 +- Bump to 5b3c4e850e90a4cf6a20ebd46c8b32a0a3afcb9e + +* Thu Mar 08 2018 Jan Chaloupka - 1.0.0-0.10.git5b3c4e8 +- Bump to 5b3c4e850e90a4cf6a20ebd46c8b32a0a3afcb9e + related: #1250461 + +* Wed Feb 28 2018 Jan Chaloupka - 1.0.0-0.9.20170407git8050b9c +- Autogenerate some parts using the new macros + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.0-0.8.git8050b9c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Sep 22 2017 Jan Chaloupka - 1.0.0-0.7.git8050b9c +- Bump to upstream 8050b9cbc271307e5a716a9d782803d09b0d6f2d + related: #1250461 + +* Wed Aug 02 2017 Fedora Release Engineering - 1.0.0-0.6.git777daa1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0.0-0.5.git777daa1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Mar 16 2017 Jan Chaloupka - 1.0.0-0.4.git777daa1 +- Bump to upstream 777daa17ff9b5daef1cfdf915088a2ada3332bf0 + related: #1250461 + +* Fri Feb 10 2017 Fedora Release Engineering - 1.0.0-0.3.git231b4cf +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Dec 15 2016 Jan Chaloupka - 1.0.0-0.2.git231b4cf +- Polish the spec file + related: #1250461 + +* Thu Sep 15 2016 jchaloup - 1.0.0-0.1.git231b4cf +- Bump to upstream 231b4cfea0e79843053a33f5fe90bd4d84b23cd3 + related: #1250461 + +* Mon Aug 08 2016 jchaloup - 0-0.11.git02fca89 +- Give back example provides, they are actually used by golang-github-cockroachdb-cmux-unit-test-devel + related: #1250461 + +* Wed Aug 03 2016 jchaloup - 0-0.10.git02fca89 +- Bump to upstream 02fca896ff5f50c6bbbee0860345a49344b37a03 + related: #1250461 + +* Mon Aug 01 2016 jchaloup - 0-0.9.gite78224b +- Bump to upstream e78224b060cf3215247b7be455f80ea22e469b66 + related: #1250461 + +* Thu Jul 21 2016 Fedora Release Engineering - 0-0.8.gitb062a3c +- https://fedoraproject.org/wiki/Changes/golang1.7 + +* Sun May 15 2016 jchaloup - 0-0.7.gitb062a3c +- Bump to upstream b062a3c003c22bfef58fa99d689e6a892b408f9d + related: #1250461 + +* Tue Mar 22 2016 jchaloup - 0-0.6.gitb88c12e +- Bump to upstream b88c12e7caf74af3928de99a864aaa9916fa5aad + related: #1250461 + +* Mon Feb 22 2016 Fedora Release Engineering - 0-0.5.gite29d659 +- https://fedoraproject.org/wiki/Changes/golang1.6 + +* Thu Feb 18 2016 jchaloup - 0-0.4.gite29d659 +- Bump to upstream e29d659177655e589850ba7d3d83f7ce12ef23dd + related: #1250461 + +* Wed Feb 03 2016 Fedora Release Engineering - 0-0.3.gitd286668 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sat Sep 12 2015 jchaloup - 0-0.2.gitd286668 +- Update to spec-2.1 + resolves: #1250461 + +* Tue Jul 28 2015 jchaloup - 0-0.1.gitd286668 +- First package for Fedora + resolves: #1246205 diff --git a/sources b/sources index 56d960e..bbbb374 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (grpc-go-1.18.0.tar.gz) = ce2a15c69af02eeda171bdc9f088eb966a972f874ffb37f126285a2c882041a5898ce1e78f647a9aa80f80fbf6409880923e2ebc6f0148b075a396e5bd27572a +SHA512 (grpc-go-1.21.1.tar.gz) = bc8a394f0d6671582cc8333898daa3a2df6e53b040b9bbb2c203696234140f4eb31c4ed60983714829fbf95cf4fec16f325ecdded8a7ee4311659624bed59ac9