## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-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*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.6.0 %bcond_without check # https://github.com/protocolbuffers/protobuf-go %global goipath google.golang.org/protobuf %global forgeurl https://github.com/protocolbuffers/protobuf-go Version: 1.31.0 %gometa -f %global common_description %{expand: Go support for Google's protocol buffers.} %global golicenses LICENSE PATENTS %global godocs CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: Go support for Google's protocol buffers %global godevelheader %{expand: Obsoletes: compat-golang-github-protobuf-devel < 1.31.0-3 } License: BSD-3-Clause URL: %{gourl} Source0: %{gosource} BuildRequires: protobuf-compiler Requires: protobuf Provides: protoc-gen-go = %{version}-%{release} Provides: golang(%{goipath}/protoc-gen-go) = %{version}-%{release} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build for cmd in cmd/* ; 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 %endif %files %license LICENSE PATENTS %doc CONTRIBUTING.md README.md %{_bindir}/protoc-gen-go %gopkgfiles %changelog ## START: Generated by rpmautospec * Sun Feb 11 2024 Maxwell G - 1.31.0-7 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 1.31.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 1.31.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Sep 24 2023 Mikel Olasagasti Uranga - 1.31.0-4 - Add obsolete on removed goaltipath compat package * Sun Sep 24 2023 Mikel Olasagasti Uranga - 1.31.0-3 - Revert adding goaltipath * Wed Sep 13 2023 Mark E. Fuller - 1.31.0-2 - Update golang-google-protobuf.spec - add deprecated altpath * Sat Sep 09 2023 Mark E. Fuller - 1.31.0-1 - update to v1.31.0, close rhbz#2176730, rhbz#2171555, rhbz#2225889 * Thu Jul 20 2023 Fedora Release Engineering - 1.28.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.28.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Aug 06 2022 Robert-André Mauchin - 1.28.1-1 - Update to 1.28.1 - Close: rhbz#2066871 * Thu Jul 21 2022 Fedora Release Engineering - 1.27.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 1.27.1-6 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 1.27.1-5 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Thu Jan 20 2022 Fedora Release Engineering - 1.27.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 20 2021 Maxwell G - 1.27.1-1 - Update to 1.27.1 Close: rhbz#1963508 * Sat Nov 06 2021 Adrian Reber - 1.25.0-8 - Rebuilt for protobuf 3.19.0 * Mon Oct 25 2021 Adrian Reber - 1.25.0-7 - Rebuilt for protobuf 3.18.1 * Thu Jul 22 2021 Fedora Release Engineering - 1.25.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.25.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 14 08:46:50 CET 2021 Adrian Reber - 1.25.0-4 - Rebuilt for protobuf 3.14 * Thu Sep 24 2020 Adrian Reber - 1.25.0-3 - Rebuilt for protobuf 3.13 * Mon Jul 27 2020 Fedora Release Engineering - 1.25.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 07 13:30:02 CEST 2020 Robert-André Mauchin - 1.25.0-1 - Update to 1.25.0 * Sun Jun 14 16:59:13 CEST 2020 Robert-André Mauchin - 1.21.0-1 - Initial package ## END: Generated by rpmautospec