Blob Blame History Raw
# Generated by go2rpm 1
%bcond_without check

# https://github.com/gorilla/csrf
%global goipath         github.com/gorilla/csrf
Version:                1.7.0

%gometa

%global common_description %{expand:
Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention middleware
for Go web applications & services.}

%global golicenses      LICENSE
%global godocs          AUTHORS README.md

Name:           %{goname}
Release:        2%{?dist}
Summary:        Cross Site Request Forgery (CSRF) prevention middleware

# Upstream license specification: BSD-3-Clause
License:        BSD
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/gorilla/securecookie)
BuildRequires:  golang(github.com/pkg/errors)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Mon Jul 27 17:10:19 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.7.0-1
- Update to 1.7.0

* Tue Feb 18 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.6.2-1
- Update to latest version

* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Sun Aug 04 16:54:56 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.6.0-1
- Initial package