# Generated by go2rpm %bcond_without check # Avoid noarch package built differently on different architectures %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(golang.org/x/sys/unix\\)$ # https://github.com/sevlyar/go-daemon %global goipath github.com/sevlyar/go-daemon Version: 0.1.5 %gometa %global godevelheader %{expand: Requires: golang(golang.org/x/sys/unix)} %global common_description %{expand: Library for writing system daemons in Go.} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: 9%{?dist} Summary: Library for writing system daemons in Go License: MIT URL: %{gourl} Source0: %{gosource} # Remove "darwin/386" pair as it has been obsoleted in Go 1.15 # https://github.com/sevlyar/go-daemon/pull/69 Patch0: https://patch-diff.githubusercontent.com/raw/sevlyar/go-daemon/pull/69.patch#/0001-Remove-darwin-386-pair.patch BuildRequires: golang(golang.org/x/sys/unix) %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering - 0.1.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.1.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.1.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.1.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Aug 23 23:33:10 CEST 2020 Robert-André Mauchin - 0.1.5-5 - Fix FTBFS * Mon Jul 27 2020 Fedora Release Engineering - 0.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 24 18:09:16 CEST 2019 Robert-André Mauchin - 0.1.5-1 - Release 0.1.5 * Fri Feb 01 2019 Fedora Release Engineering - 0.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Oct 06 2018 Robert-André Mauchin - 0.1.4-1 - Update to release 0.1.4 * Fri Jul 13 2018 Fedora Release Engineering - 0.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Mar 20 2018 Robert-André Mauchin - 0.1.3-1 - First package for Fedora