## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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.5.0 %bcond_without check # https://github.com/rs/cors %global goipath github.com/rs/cors Version: 1.8.0 %gometa %global common_description %{expand: CORS is a net/http handler implementing Cross Origin Resource Sharing W3 specification in Golang.} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: %autorelease Summary: Go net/http configurable handler to handle CORS requests License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/gin-gonic/gin) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 1.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 1.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 20 2021 Maxwell G 1.8.0-3 - Rebuild to fix FailsToInstall. Closes rhbz#2033980 * Tue Oct 12 2021 Tommi Rantala 1.8.0-2 - Remove needless BuildRequires used in example code only * Wed Aug 04 2021 Robert-André Mauchin 1.8.0-1 - Update to 1.8.0 Close: rhbz#1978018, rhbz#1987542 * Thu Jul 22 2021 Fedora Release Engineering - 1.7.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 23:22:46 CEST 2020 Robert-André Mauchin - 1.7.0-1 - Update to 1.7.0 * Mon Jul 27 2020 Fedora Release Engineering - 1.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue May 07 15:05:52 CEST 2019 Robert-André Mauchin - 1.6.0-1 - Initial package