## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 7; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm %bcond_without check 1.7.0 %bcond_with bootstrap %if %{without bootstrap} %global debug_package %{nil} %endif # https://github.com/grpc/grpc-go %global goipath google.golang.org/grpc %global forgeurl https://github.com/grpc/grpc-go Version: 1.48.0 %gometa %global common_description %{expand: The Go language implementation of GRPC, http/2 based rpc.} # This should be removed in Fedora 39 %global godevelheader0 %{expand: # This package used to be split up to solve a bootstrapping issue. # golang-google-grpc-status-devel has since been merged with # the main -devel package, so we need this to ensure a smooth update path. # See https://bugzilla.redhat.com/2109630 Provides: golang-google-grpc-status-devel = %{?epoch:epoch:}%{version}-%{release} Obsoletes: golang-google-grpc-status-devel < 1.48.0-2 } %global golicenses LICENSE NOTICE.txt %global godocs examples AUTHORS CODE-OF-CONDUCT.md CONTRIBUTING.md\\\ GOVERNANCE.md MAINTAINERS.md README.md SECURITY.md\\\ Documentation Name: %{goname} Release: %autorelease Summary: Go language implementation of GRPC License: Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %if %{without bootstrap} %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %endif %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{without bootstrap} %if %{with check} %check for test in "InvalidMetadata" \ "SvrWriteStatusEarlyWrite" \ "AuthorizationEngineEvaluate" \ "HealthWatchServiceStatusSetBeforeStartingServer" \ "PolicyEngineEvaluate" \ "IdentityEncoding" \ "Fallback" \ "HealthCheckOff" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %endif %if %{without bootstrap} %files %license LICENSE NOTICE.txt %doc examples AUTHORS CODE-OF-CONDUCT.md CONTRIBUTING.md GOVERNANCE.md %doc MAINTAINERS.md README.md SECURITY.md Documentation %{_bindir}/protoc-gen-go-grpc %endif %gopkgfiles %changelog * Mon Sep 19 2022 Maxwell G 1.48.0-7 - Fix golang-google-grpc-status-devel update path (rhbz#2109630). * Wed Aug 10 2022 Maxwell G 1.48.0-6 - Rebuild to fix FTBFS * Tue Aug 09 2022 Robert-André Mauchin 1.48.0-5 - Disable more network tests * Mon Aug 08 2022 Robert-André Mauchin 1.48.0-4 - Disable test HealthWatchServiceStatusSetBeforeStartingServer failing on f36 * Mon Aug 08 2022 Robert-André Mauchin 1.48.0-3 - Disable test AuthorizationEngineEvaluate failing on f36 * Sun Aug 07 2022 Robert-André Mauchin 1.48.0-2 - Disable test SvrWriteStatusEarlyWrite failing on ppc64 * Sun Aug 07 2022 Robert-André Mauchin 1.48.0-1 - Update to 1.48.0 - Close: rhbz#2040119 rhbz#2065472 rhbz#2045638 * Thu Jul 21 2022 Fedora Release Engineering 1.43.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 1.43.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jan 07 2022 Tomas Hozza 1.43.0-1 - Update to 1.43.0 Close: rhbz#2006722 * Sun Aug 08 2021 Robert-André Mauchin 1.39.1-1 - Update to 1.39.1 Close: rhbz#1927451 * Thu Jul 22 2021 Fedora Release Engineering - 1.35.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.35.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 22 17:48:30 CET 2021 Robert-André Mauchin - 1.35.0-1 - Update to 1.35.0 - Close: rhbz#1915172 * Wed Dec 23 09:07:13 CET 2020 Robert-André Mauchin - 1.34.0-1 - Update to 1.34.0 - Close: rhbz#1886969 * Thu Sep 03 21:31:32 CEST 2020 Robert-André Mauchin - 1.31.1-1 - Update to 1.31.1 * Sat Aug 01 2020 Fedora Release Engineering - 1.24.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.24.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.24.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Nov 02 2019 Kenneth Topp - 1.24.0-1 - Release 1.24.0 * Thu Jul 25 2019 Fedora Release Engineering - 1.21.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jul 05 2019 Elliott Sales de Andrade - 1.21.1-2 - Add Obsoletes for old name * 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