# Generated by go2rpm 1 %bcond_without check # https://github.com/casbin/casbin %global goipath github.com/casbin/casbin/v2 Version: 2.63.0 %gometa %global common_description %{expand: An authorization library that supports access control models like ACL, RBAC, ABAC in Golang.} %global golicenses LICENSE %global godocs CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: An authorization library for ACL, RBAC and ABAC License: ASL 2.0 URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-github-casbin-2 = %{version}-%{release} Obsoletes: golang-github-casbin-2 < 2.63.0-6 %global godevelheader %{expand: Provides: golang-github-casbin-2-devel = %{version}-%{release} Obsoletes: golang-github-casbin-2-devel < 2.63.0-6} BuildRequires: golang(github.com/Knetic/govaluate) BuildRequires: golang(github.com/golang/mock/gomock) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog