## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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.9.0 %ifnarch %{arm} %{ix86} %bcond_without check %endif %global debug_package %{nil} # https://github.com/golang/snappy %global goipath github.com/golang/snappy Version: 0.0.4 %gometa %global goaltipaths github.com/syndtr/gosnappy %global common_description %{expand: Implementation of the Snappy compression format for Go.} %global golicenses LICENSE %global godocs AUTHORS CONTRIBUTORS README Name: %{goname} Release: %autorelease Summary: Implementation of the Snappy compression format for Go License: BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %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 %doc README AUTHORS CONTRIBUTORS %{_bindir}/* %gopkgfiles %changelog ## START: Generated by rpmautospec * Sun Feb 11 2024 Maxwell G - 0.0.4-5 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 0.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 29 2023 Mikel Olasagasti Uranga - 0.0.4-1 - Update to 0.0.4 - Closes rhbz#1933182 * Thu Jan 19 2023 Fedora Release Engineering - 0.0.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.0.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 0.0.2-7 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 0.0.2-6 - 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 - 0.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 24 00:42:58 CET 2021 Robert-André Mauchin - 0.0.2-2 - Add patch to fix bug in encode_arm64.s * Tue Dec 22 03:33:38 CET 2020 Robert-André Mauchin - 0.0.2-1 - Update to 0.0.2 - Close: rhbz#1881247 * Mon Jul 27 2020 Fedora Release Engineering - 0.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Apr 23 18:56:45 CEST 2019 Robert-André Mauchin - 0.0.1-1 - Release 0.0.1 * Wed Apr 10 14:30:11 CET 2019 Robert-André Mauchin - 0-0.15.20190409git2e65f85 - Provides compaitbility for gosnappy/snappy * Tue Apr 09 22:26:47 CET 2019 Robert-André Mauchin - 0-0.14.20190409git2e65f85 - Bump to commit 2e65f85255dbc3072edf28d6b5b8efc472979f5a - Update to new go packaging * Fri Jul 13 2018 Fedora Release Engineering - 0-0.13.git156a073 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0-0.12.git156a073 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.11.git156a073 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.10.git156a073 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.9.git156a073 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jul 21 2016 Fedora Release Engineering - 0-0.8.git156a073 - https://fedoraproject.org/wiki/Changes/golang1.7 * Fri Apr 15 2016 jchaloup - 0-0.7.git156a073 - Polish the spec file - Extend the spec with github.com/golang/snappy (which is newer version of gosnappy) related: #1220164 * Mon Feb 22 2016 Fedora Release Engineering - 0-0.6.git156a073 - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.5.git156a073 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Aug 10 2015 Fridolin Pokorny - 0-0.4.git156a073 - Update spec file to spec-2.0 related: #1220164 * Wed Jun 17 2015 Fedora Release Engineering - 0-0.3.git156a073 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun May 10 2015 jchaloup - 0-0.2.git156a073 - Bump to upstream 156a073208e131d7d2e212cb749feae7c339e846 resolves: #1220164 * Sat Feb 07 2015 jchaloup - 0-0.1.gitce8acff - First package for Fedora resolves: #1190411 ## END: Generated by rpmautospec