# Generated by go2rpm %bcond_without check %bcond_with bootstrap # https://github.com/oklog/oklog %global goipath github.com/oklog/oklog Version: 0.3.2 %global commit ca7cdf51fb41fbc290986e9a24db4fa644ab0714 %gometa %global common_description %{expand: OK Log is a distributed and coordination-free log management system for big ol' clusters. It's an on-prem solution that's designed to be a sort of building block: easy to understand, easy to operate, and easy to extend.} %global golicenses LICENSE %global godocs doc DESIGN.md MODEL.md README.md Name: %{goname} Release: 15%{?dist} Summary: Distributed and coordination-free log management system # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/djherbis/buffer) BuildRequires: golang(github.com/djherbis/nio) BuildRequires: golang(github.com/go-kit/kit/log) BuildRequires: golang(github.com/go-kit/kit/log/level) BuildRequires: golang(github.com/google/btree) BuildRequires: golang(github.com/hashicorp/go-sockaddr) BuildRequires: golang(github.com/hashicorp/memberlist) BuildRequires: golang(github.com/oklog/run) BuildRequires: golang(github.com/oklog/ulid) BuildRequires: golang(github.com/pborman/uuid) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(github.com/prometheus/client_golang/prometheus) BuildRequires: golang(github.com/prometheus/client_golang/prometheus/promhttp) BuildRequires: golang(github.com/rs/cors) %if %{without bootstrap} %if %{with check} # Tests BuildRequires: golang(github.com/prometheus/prometheus/util/testutil) %endif %endif %description %{common_description} %gopkg %prep %goprep %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 %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %files %license LICENSE %doc doc DESIGN.md MODEL.md README.md %{_bindir}/* %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering - 0.3.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Aug 10 2022 Maxwell G - 0.3.2-14 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering - 0.3.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 0.3.2-12 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Thu Jun 23 2022 Maxwell G - 0.3.2-11 - Rebuild to mitigate CVE-2022-21698 (rhbz#2067400). * Sat Jun 18 2022 Robert-André Mauchin - 0.3.2-10 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Sat Apr 16 2022 Fabio Alessandro Locati - 0.3.2-9 - Rebuilt for CVE-2022-27191 * Thu Jan 20 2022 Fedora Release Engineering - 0.3.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.3.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 0.3.2-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed May 15 00:24:08 CEST 2019 Robert-André Mauchin - 0.3.2-1.20190515gitca7cdf5 - Initial package