# Generated by go2rpm %bcond_without check # https://github.com/marusama/semaphore %global goipath github.com/marusama/semaphore Version: 2.3.0 %global tag 2.3.0 %gometa %global common_description %{expand: Fast resizable golang semaphore based on CAS: - allows weighted acquire/release; - supports cancellation via context; - allows change semaphore limit after creation; - faster than channel based semaphores.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Fast resizable Golang semaphore License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed May 15 23:15:04 CEST 2019 Robert-André Mauchin - 2.3.0-1 - Initial package