## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.9.0 %bcond_without check # https://github.com/golang-jwt/jwt %global goipath github.com/golang-jwt/jwt/v5 Version: 5.2.0 %gometa -f %global common_description %{expand: A Go implementation of JSON Web Tokens.} %global golicenses LICENSE %global godocs MIGRATION_GUIDE.md README.md SECURITY.md\\\ VERSION_HISTORY.md cmd/jwt/README.md Name: %{goname} Release: %autorelease Summary: A Go implementation of JSON Web Tokens License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %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 SECURITY.md VERSION_HISTORY.md %doc cmd/jwt/README.md %{_bindir}/* %gopkgfiles %changelog ## START: Generated by rpmautospec * Sun Feb 11 2024 Maxwell G - 5.2.0-4 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 5.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 5.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Jan 02 2024 W. Michael Petullo - 5.2.0-1 - Update to 5.2.0 * Mon Aug 14 2023 W. Michael Petullo - 5.0.0-2 - Revise package description and summary * Sat Aug 12 2023 W. Michael Petullo - 5.0.0-1 - Initial import (fedora#2231193) ## END: Generated by rpmautospec