# Generated by go2rpm %bcond_without check # https://github.com/gogo/protobuf %global goipath github.com/gogo/protobuf Version: 1.2.1 %gometa %global common_description %{expand: Gogoprotobuf is a fork of golang/protobuf with extra code generation features. This code generation is used to achieve: - fast marshalling and unmarshalling - more canonical Go structures - goprotobuf compatibility - less typing by optionally generating extra helper code - peace of mind by optionally generating test and benchmark code - other serialization formats} %global golicenses LICENSE %global godocs AUTHORS CONTRIBUTORS README bench.md custom_types.md Readme.md extensions.md Name: %{goname} Release: 2%{?dist} Summary: Protocol buffers for Go with gadgets # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: protobuf-compiler %description %{common_description} %gopkg %prep %goprep %build export GO111MODULE=off for cmd in protoc-gen-gogo protoc-gen-gofast protoc-min-version protoc-gen-combo protoc-gen-gostring protoc-gen-gogoslick protoc-gen-gogotypes protoc-gen-gogofaster gogoreplace conformance protoc-gen-gogofast; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck -t protoc-gen-gogo -d test/dashfilename -d test/embedconflict -d test/issue270 -r .*/unsafeunmarshaler -r .*/unsafeboth -r .*/unsafemarshaler -d test/packed %endif %files %license %{golicenses} %doc %{godocs} %{_bindir}/* %gopkgfiles %changelog * Wed Apr 24 01:58:26 CEST 2019 Robert-André Mauchin - 1.2.1-2 - Update to new macros * Wed Mar 06 2019 Robert-André Mauchin - 1.2.1-1 - Release 1.2.1 * Fri Feb 01 2019 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Nov 01 2018 Robert-André Mauchin - 1.1.1-1 - Release 1.1.1 * Tue Oct 23 2018 Nicolas Mailhot - 0.4-0.9.git100ba4e - 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/ * Tue Jul 31 2018 Florian Weimer - 0.4-0.8.git100ba4e - Rebuild with fixed binutils * Fri Jul 13 2018 Fedora Release Engineering - 0.4-0.7.git100ba4e - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Mar 07 2018 Jan Chaloupka - 0.4-0.6.git100ba4e - Bump to 100ba4e885062801d56799d78530b73b178a78f3 * Wed Mar 07 2018 Jan Chaloupka - 0.4-0.5.gitf6b4bb7 - Update to spec 3.0 * Wed Feb 07 2018 Fedora Release Engineering - 0.4-0.4.gitf6b4bb7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0.4-0.3.gitf6b4bb7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.4-0.2.gitf6b4bb7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Mar 09 2017 Jan Chaloupka - 0.4-0.1.gitf6b4bb7 - Bump to upstream f6b4bb7b2dde1736b809b3da996ed72f278e9be9 resolves: #1428951 * Fri Feb 10 2017 Fedora Release Engineering - 0.2-0.6.gitd7788ac - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Jan 20 2017 Jan Chaloupka - 0.2-0.5.gitd7788ac - Bump to upstream d7788ac7ca647999a3775cb756e449ab177dd138 related: #1246215 * Sat Dec 17 2016 Jan Chaloupka - 0.2-0.4.gite18d7aa - Polish the spec file related: #1246215 * Wed Aug 03 2016 jchaloup - 0.2-0.3.gite18d7aa - Bump to upstream e18d7aa8f8c624c915db340349aad4c49b10d173 related: #1246215 * Thu Jul 21 2016 Fedora Release Engineering - 0.2-0.2.gitc3995ae - https://fedoraproject.org/wiki/Changes/golang1.7 * Sun May 15 2016 jchaloup - 0.2-0.1.gitc3995ae - Bump to upstream c3995ae437bb78d1189f4f147dfe5f87ad3596e4 related: #1246215 * Mon Feb 22 2016 Fedora Release Engineering - 0.1-0.4.gite8904f5 - https://fedoraproject.org/wiki/Changes/golang1.6 * Thu Feb 18 2016 jchaloup - 0.1-0.3.gite8904f5 - Bump to upstream e8904f58e872a473a5b91bc9bf3377d223555263 related: #1246215 * Wed Feb 03 2016 Fedora Release Engineering - 0.1-0.2.git8edb24c - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Sep 30 2015 jchaloup - 0.1-0.1.git8edb24c - Bump to upstream 8edb24c179ed858a38f18920d9005c2dde05ec17 related: #1246215 * Sat Aug 22 2015 jchaloup - 0-0.13.git5ba1012 - Update spec file to spec-2.0 related: #1246215 * Thu Jul 23 2015 jchaloup - 0-0.12.git5ba1012 - Bump to upstream 5ba1012ef3868db1b9ff374280a558c1bfff39c3 - Disable tests resolves: #1246215 * Wed Jun 17 2015 Fedora Release Engineering - 0-0.11.gitbc946d0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Feb 13 2015 jchaloup - 0-0.10.gitbc946d0 - Bump to upstream bc946d07d1016848dfd2507f90f0859c9471681e import path has changed -> add devel package to keep back compatibility with code.google.com/p/gogoprotobuf import paths * Fri Sep 19 2014 jchaloup - 0-0.9.gitd228c1a - initial commit (package review #1120882) * Fri Sep 19 2014 Lokesh Mandvekar - 0-0.8.gitd228c1a - preserve timestamps - don't own golang dirs - don't redifine gopath - ExcluseBuild for goarches * Thu Jul 17 2014 Colin Walters - 0-0.7.gitd228c1a - Initial package