# Generated by go2rpm 1.6.0 %bcond_without check # https://github.com/golang-jwt/jwt %global goipath github.com/golang-jwt/jwt/v4 Version: 4.2.0 %gometa %global common_description %{expand: Golang implementation of JSON Web Tokens.} %global golicenses LICENSE %global godocs MIGRATION_GUIDE.md README.md VERSION_HISTORY.md\\\ cmd/jwt/README.md Name: %{goname} Release: %autorelease Summary: Golang implementation of JSON Web Tokens License: MIT URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-github-jwt-4 = %{version}-%{release} Obsoletes: golang-github-jwt-4 < 4.2.0-5 %global godevelheader %{expand: Provides: golang-github-jwt-4-devel = %{version}-%{release} Obsoletes: golang-github-jwt-4-devel < 4.2.0-5} %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog