# Generated by go2rpm %bcond_without check # https://github.com/akrennmair/gopcap %global goipath github.com/akrennmair/gopcap %global commit 00e11033259acb75598ba416495bb708d864a010 %gometa %global godevelheader %{expand: Requires: libpcap-devel} %global common_description %{expand: This is a simple wrapper around libpcap for Go.} %global golicenses LICENSE %global godocs README.mkd %global gosupfiles glide.lock glide.yaml Name: %{goname} Version: 0 Release: 0.22%{?dist} Summary: Simple wrapper around libpcap for the Go programming language # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock # Fix formatting errors Patch0: Fix-formatting-error.patch BuildRequires: libpcap-devel %description %{common_description} %gopkg %prep %goprep %patch0 -p1 cp %{S:1} %{S:2} . %install %gopkginstall %if %{with check} %check # https://github.com/akrennmair/gopcap/issues/32 %gocheck -d . %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering - 0-0.22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Robert-André Mauchin - 0-0.21 - 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.20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0-0.19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0-0.18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0-0.17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0-0.16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0-0.15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue May 28 21:14:27 CEST 2019 Robert-André Mauchin - 0-0.14.20150728git00e1103 - Update to new macros * Thu Jan 31 2019 Fedora Release Engineering - 0-0.13.git00e1103 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Nov 11 2018 Robert-André Mauchin - 0-0.12.20150728git00e1103 - SPEC refresh * Tue Oct 23 2018 Nicolas Mailhot - 0-0.11.git.git00e1103 - 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 - 0-0.10.git.git00e1103 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 08 2018 Jan Chaloupka - 0-0.9.git.git00e1103 - Update to spec 3.0 Upload glide.lock and glide.yaml * Mon Feb 26 2018 Jan Chaloupka - 0-0.8.20150728git00e1103 - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 0-0.7.git00e1103 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.6.git00e1103 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.5.git00e1103 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.4.git00e1103 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Dec 16 2016 Jan Chaloupka - 0-0.3.git00e1103 - Polish the spec file resolves: #1405532 * Thu Jul 21 2016 Fedora Release Engineering - 0-0.2.git00e1103 - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Mar 21 2016 jchaloup - 0-0.1.git00e1103 - First package for Fedora resolves: #1319720