# Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/golang-jwt/jwt %global goipath github.com/golang-jwt/jwt Version: 3.2.2 %gometa %global common_description %{expand: Community maintained clone of https://github.com/dgrijalva/jwt-go.} %global golicenses LICENSE %global godocs MIGRATION_GUIDE.md README.md VERSION_HISTORY.md\\\ cmd/jwt/README.md Name: %{goname} Release: 1%{?dist} Summary: Community maintained clone of https://github.com/dgrijalva/jwt-go License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc MIGRATION_GUIDE.md README.md VERSION_HISTORY.md cmd/jwt/README.md %{_bindir}/* %gopkgfiles %changelog * Tue Aug 03 2021 Ondřej Budai - 3.2.2-1%{?dist} - Initial package