# Generated by go2rpm 1.2 %bcond_without check # https://github.com/mdlayher/ethernet %global goipath github.com/mdlayher/ethernet %global commit 0394541c37b7f86a10e0b49492f6d4f605c34163 %gometa %global common_description %{expand: The Golang package ethernet implements marshaling and unmarshaling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags.} %global golicenses LICENSE.md %global godocs README.md Name: %{goname} Version: 0 Release: 0.8%{?dist} Summary: Implements marshaling and unmarshaling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/mdlayher/raw) %description %{common_description} %package -n etherecho Summary: Broadcast a message to all machines in the same network segment %description -n etherecho etherecho broadcasts a message to all machines in the same network segment, and listens for other messages from other etherecho servers. %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/etherecho %{goipath}/cmd/etherecho %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files -n etherecho %license LICENSE.md %doc cmd/etherecho/README.md %{_bindir}/etherecho %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering - 0-0.8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0-0.7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 0-0.6 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jul 09 2022 Maxwell G - 0-0.5 - Rebuild for CVE-2022-{24675,28327,29526 in golang} * Thu Jan 20 2022 Fedora Release Engineering - 0-0.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0-0.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Nov 6 2020 Davide Cavalca - 0-0.1.20201106git0394541 - Initial package