|
Fridolin Pokorny |
5a93054 |
# https://github.com/abbot/go-http-auth
|
|
|
7fdc14a |
%global goipath github.com/abbot/go-http-auth
|
|
|
4d51f3a |
%global commit 860ed7f246ff5abfdbd5c7ce618fd37b49fd3d86
|
|
|
b784ce2 |
|
|
|
4d51f3a |
%gometa
|
|
|
5ee77b7 |
|
|
|
f5c2559 |
Name: golang-github-abbot-go-http-auth
|
|
|
b784ce2 |
Version: 0
|
|
|
4d51f3a |
Release: 0.18%{?dist}
|
|
|
b784ce2 |
Summary: Basic and Digest HTTP Authentication for golang http
|
|
|
b784ce2 |
License: ASL 2.0
|
|
|
5ee77b7 |
URL: %{gourl}
|
|
|
5ee77b7 |
Source0: %{gosource}
|
|
|
b394099 |
Source1: glide.lock
|
|
|
b394099 |
Source2: glide.yaml
|
|
|
b784ce2 |
|
|
|
b784ce2 |
%description
|
|
|
b784ce2 |
This is an implementation of HTTP Basic
|
|
|
b784ce2 |
and HTTP Digest authentication in Go language.
|
|
|
b784ce2 |
It is designed as a simple wrapper for http.RequestHandler functions.
|
|
|
b784ce2 |
|
|
|
b784ce2 |
%package devel
|
|
Fridolin Pokorny |
5a93054 |
Summary: %{summary}
|
|
Fridolin Pokorny |
5a93054 |
BuildArch: noarch
|
|
Fridolin Pokorny |
5a93054 |
|
|
|
4d51f3a |
BuildRequires: golang(golang.org/x/crypto/bcrypt)
|
|
|
4d51f3a |
BuildRequires: golang(golang.org/x/net/context)
|
|
|
4d51f3a |
|
|
|
b784ce2 |
%description devel
|
|
Fridolin Pokorny |
5a93054 |
%{summary}
|
|
Fridolin Pokorny |
5a93054 |
|
|
Fridolin Pokorny |
5a93054 |
This package contains library source intended for
|
|
Fridolin Pokorny |
5a93054 |
building other packages which use import path with
|
|
|
7fdc14a |
%{goipath} prefix.
|
|
|
b784ce2 |
|
|
|
b784ce2 |
%prep
|
|
|
eb5cc46 |
%forgesetup
|
|
|
b394099 |
cp %{SOURCE1} %{SOURCE2} .
|
|
|
b784ce2 |
|
|
|
b784ce2 |
%install
|
|
|
b394099 |
%goinstall test.htdigest test.htpasswd glide.lock glide.yaml
|
|
|
bef75e1 |
|
|
|
b784ce2 |
%check
|
|
|
5ee77b7 |
%gochecks
|
|
Fridolin Pokorny |
5a93054 |
|
|
|
bef75e1 |
#define license tag if not already defined
|
|
|
bef75e1 |
%{!?_licensedir:%global license %doc}
|
|
|
bef75e1 |
|
|
Fridolin Pokorny |
5a93054 |
%files devel -f devel.file-list
|
|
|
bef75e1 |
%license LICENSE
|
|
Fridolin Pokorny |
5a93054 |
%doc README.md
|
|
|
b784ce2 |
|
|
|
b784ce2 |
%changelog
|
|
|
4d51f3a |
* Thu Oct 25 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.18.20181025git860ed7f
|
|
|
4d51f3a |
- Bump to commit 860ed7f246ff5abfdbd5c7ce618fd37b49fd3d86
|
|
|
4d51f3a |
|
|
|
4d51f3a |
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 0-0.17.20181005gitb6a92f4
|
|
|
846e29e |
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
|
|
|
846e29e |
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
|
|
|
846e29e |
|
|
|
4d51f3a |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.16.gitc0ef453
|
|
|
5edcd19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
5edcd19 |
|
|
|
b394099 |
* Fri Jun 08 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.15.gitc0ef453
|
|
|
b394099 |
- Upload glide.lock and glide.yaml files
|
|
|
b394099 |
|
|
|
7fdc14a |
* Mon Mar 05 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.14.gitc0ef453
|
|
|
7fdc14a |
- Update to spec 3.0
|
|
|
7fdc14a |
|
|
|
5ee77b7 |
* Mon Feb 26 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.13.20140619gitc0ef453
|
|
|
5ee77b7 |
- Autogenerate some parts using the new macros
|
|
|
5ee77b7 |
|
|
|
7cfb07d |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.12.gitc0ef453
|
|
|
7cfb07d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
7cfb07d |
|
|
|
f1911c9 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.11.gitc0ef453
|
|
|
f1911c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
f1911c9 |
|
|
|
0dfe8d4 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.10.gitc0ef453
|
|
|
0dfe8d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
0dfe8d4 |
|
|
|
222bbe2 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.9.gitc0ef453
|
|
|
222bbe2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
222bbe2 |
|
|
|
1ffa8ad |
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.8.gitc0ef453
|
|
|
1ffa8ad |
- https://fedoraproject.org/wiki/Changes/golang1.7
|
|
|
1ffa8ad |
|
|
|
cb446c3 |
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.7.gitc0ef453
|
|
|
cb446c3 |
- https://fedoraproject.org/wiki/Changes/golang1.6
|
|
|
cb446c3 |
|
|
|
c52123f |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6.gitc0ef453
|
|
|
c52123f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
c52123f |
|
|
|
bef75e1 |
* Sat Sep 12 2015 jchaloup <jchaloup@redhat.com> - 0-0.5.gitc0ef453
|
|
|
bef75e1 |
- Update to spec 2.1
|
|
|
bef75e1 |
related: #1248477
|
|
|
bef75e1 |
|
|
|
6a58c56 |
* Mon Aug 17 2015 jchaloup <jchaloup@redhat.com> - 0-0.4.gitc0ef453
|
|
|
6a58c56 |
- Don't provide examples
|
|
|
6a58c56 |
related: #1248477
|
|
|
6a58c56 |
|
|
|
13b2ae7 |
* Thu Jul 30 2015 Fridolin Pokorny <fpokorny@redhat.com> - 0-0.3.gitc0ef453
|
|
Fridolin Pokorny |
17fc3d1 |
- Move test.htpasswd and test.htdigest to test unit
|
|
Fridolin Pokorny |
17fc3d1 |
related: #1248477
|
|
Fridolin Pokorny |
17fc3d1 |
|
|
Fridolin Pokorny |
17fc3d1 |
* Thu Jul 30 2015 Fridolin Pokorny <fpokorny@redhat.com> - 0-0.2.gitc0ef453
|
|
Fridolin Pokorny |
5a93054 |
- Update of spec file to spec-2.0
|
|
Fridolin Pokorny |
5a93054 |
resolves: #1248477
|
|
Fridolin Pokorny |
5a93054 |
|
|
|
6cb068e |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.2.gitc0ef453
|
|
|
6cb068e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
6cb068e |
|
|
|
b784ce2 |
* Thu Dec 18 2014 jchaloup <jchaloup@redhat.com> - 0-0.1.gitc0ef453
|
|
|
b784ce2 |
- First package for Fedora
|
|
|
b784ce2 |
resolves: #1175673
|