# Generated by go2rpm %bcond_without check # https://github.com/alexflint/go-filemutex %global goipath github.com/alexflint/go-filemutex %global commit d358565f3c3f5334209f1e80693e4f621650c489 %gometa %global common_description %{expand: FileMutex is similar to sync.RWMutex, but also synchronizes across processes. On Linux, OSX, and other POSIX systems it uses the flock system call. On windows it uses the LockFileEx and UnlockFileEx system calls.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Sync.Mutex working across processes License: MIT URL: %{gourl} Source0: %{gosource} %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat May 04 23:40:24 CEST 2019 Robert-André Mauchin - 0-0.1.20190504gitd358565 - Initial package