|
|
703c124 |
# Generated by go2rpm
|
|
|
703c124 |
%bcond_without check
|
|
|
703c124 |
|
|
|
703c124 |
# https://github.com/gorilla/mux
|
|
|
e9294ec |
%global goipath github.com/gorilla/mux
|
|
|
c1b5030 |
Version: 1.8.0
|
|
|
41a3b1e |
|
|
|
bcf8af3 |
%gometa
|
|
|
2249ca0 |
|
|
|
703c124 |
%global common_description %{expand:
|
|
|
703c124 |
Package gorilla/mux implements a request router and dispatcher for matching
|
|
|
703c124 |
incoming requests to their respective handler.
|
|
|
703c124 |
|
|
|
703c124 |
The name mux stands for "HTTP request multiplexer". Like the standard
|
|
|
703c124 |
http.ServeMux, mux.Router matches incoming requests against a list of registered
|
|
|
703c124 |
routes and calls a handler for the route that matches the URL or other
|
|
|
703c124 |
conditions. The main features are:
|
|
|
703c124 |
|
|
|
703c124 |
- It implements the http.Handler interface so it is compatible with the
|
|
|
703c124 |
standard http.ServeMux.
|
|
|
703c124 |
- Requests can be matched based on URL host, path, path prefix, schemes,
|
|
|
703c124 |
header and query values, HTTP methods or using custom matchers.
|
|
|
703c124 |
- URL hosts, paths and query values can have variables with an optional
|
|
|
703c124 |
regular expression.
|
|
|
703c124 |
- Registered URLs can be built, or "reversed", which helps maintaining
|
|
|
703c124 |
references to resources.
|
|
|
703c124 |
- Routes can be used as subrouters: nested routes are only tested if the
|
|
|
703c124 |
parent route matches. This is useful to define groups of routes that share
|
|
|
703c124 |
common conditions like a host, a path prefix or other repeated attributes.
|
|
|
703c124 |
As a bonus, this optimizes request matching.
|
|
|
703c124 |
}
|
|
|
703c124 |
|
|
|
703c124 |
%global golicenses LICENSE
|
|
|
703c124 |
%global godocs AUTHORS README.md
|
|
|
703c124 |
|
|
|
703c124 |
%global gosupfiles glide.lock glide.yaml
|
|
|
703c124 |
|
|
|
2249ca0 |
Name: %{goname}
|
|
|
c1b5030 |
Release: 1%{?dist}
|
|
|
703c124 |
Summary: A powerful url router and dispatcher for golang
|
|
|
703c124 |
|
|
|
703c124 |
# Upstream license specification: BSD-3-Clause
|
|
|
41a3b1e |
License: BSD
|
|
|
2249ca0 |
URL: %{gourl}
|
|
|
2249ca0 |
Source0: %{gosource}
|
|
|
e9294ec |
Source1: glide.yaml
|
|
|
bcf8af3 |
Source2: glide.lock
|
|
|
41a3b1e |
|
|
|
41a3b1e |
%description
|
|
|
703c124 |
%{common_description}
|
|
|
41a3b1e |
|
|
|
703c124 |
%gopkg
|
|
|
922e0c7 |
|
|
|
41a3b1e |
%prep
|
|
|
703c124 |
%goprep
|
|
|
703c124 |
cp %{S:1} %{S:2} .
|
|
|
bcf8af3 |
|
|
|
41a3b1e |
%install
|
|
|
703c124 |
%gopkginstall
|
|
|
bb2fc58 |
|
|
|
703c124 |
%if %{with check}
|
|
|
80f8226 |
%check
|
|
|
703c124 |
%gocheck
|
|
|
703c124 |
%endif
|
|
|
41a3b1e |
|
|
|
703c124 |
%gopkgfiles
|
|
|
41a3b1e |
|
|
|
41a3b1e |
%changelog
|
|
|
c1b5030 |
* Sun Jan 3 09:24:42 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 1.8.0-1
|
|
|
c1b5030 |
- Update to 1.8.0
|
|
|
c1b5030 |
- Close: rhbz#1871415
|
|
|
c1b5030 |
|
|
|
0822876 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-2
|
|
|
0822876 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
0822876 |
|
|
|
a615ec3 |
* Sun Feb 16 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.7.4-1
|
|
|
a615ec3 |
- Update to latest version
|
|
|
a615ec3 |
|
|
|
01feb97 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-3
|
|
|
01feb97 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
01feb97 |
|
|
|
1b6ae2e |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-2
|
|
|
1b6ae2e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
1b6ae2e |
|
|
|
703c124 |
* Mon Apr 15 23:21:17 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.7.1-1
|
|
|
703c124 |
- Release 1.7.1
|
|
|
703c124 |
|
|
|
747d0d9 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-2
|
|
|
747d0d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
747d0d9 |
|
|
|
bcf8af3 |
* Tue Oct 30 2018 Robert-André Mauchin <zebob.m@gmail.com> - 1.6.2-1
|
|
|
bcf8af3 |
- Release 1.6.2
|
|
|
bcf8af3 |
|
|
|
bcf8af3 |
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 1.6.1-5.git53c1911
|
|
|
60f63de |
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
|
|
|
60f63de |
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
|
|
|
60f63de |
|
|
|
bcf8af3 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-4.git53c1911
|
|
|
c365d99 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
c365d99 |
|
|
|
e9294ec |
* Mon Jun 11 2018 Jan Chaloupka <jchaloup@redhat.com> - 1.6.1-3.git53c1911
|
|
|
e9294ec |
- Upload glide files
|
|
|
e9294ec |
|
|
|
2249ca0 |
* Tue Feb 20 2018 Jan Chaloupka <jchaloup@redhat.com> - 1.6.1-2
|
|
|
2249ca0 |
- Autogenerate some parts using the new macros
|
|
|
2249ca0 |
|
|
|
c8cf38a |
* Wed Feb 14 2018 Kaushal <kshlmster@gmail.com> - 1.6.1-1
|
|
|
c8cf38a |
- Update to v1.6.1
|
|
|
c8cf38a |
|
|
|
a4a1990 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.27.gitbcd8bc7
|
|
|
a4a1990 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a4a1990 |
|
|
|
6530b66 |
* Tue Sep 26 2017 Jan Chaloupka <jchaloup@redhat.com> - 0-0.26.gitbcd8bc7
|
|
|
6530b66 |
- Bump to upstream bcd8bc72b08df0f70df986b97f95590779502d31
|
|
|
6530b66 |
related: #1249384
|
|
|
6530b66 |
|
|
|
13fcfa6 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.25.git8096f47
|
|
|
13fcfa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
13fcfa6 |
|
|
|
57224e1 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.24.git8096f47
|
|
|
57224e1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
57224e1 |
|
|
|
c725a4d |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.23.git8096f47
|
|
|
c725a4d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
c725a4d |
|
|
|
95ae99e |
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.22.git8096f47
|
|
|
95ae99e |
- https://fedoraproject.org/wiki/Changes/golang1.7
|
|
|
95ae99e |
|
|
|
a2838f7 |
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.21.git8096f47
|
|
|
a2838f7 |
- https://fedoraproject.org/wiki/Changes/golang1.6
|
|
|
a2838f7 |
|
|
|
51d6f6d |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.20.git8096f47
|
|
|
51d6f6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
51d6f6d |
|
|
|
bb2fc58 |
* Sat Sep 12 2015 jchaloup <jchaloup@redhat.com> - 0-0.19.git8096f47
|
|
|
bb2fc58 |
- Update to spec-2.1
|
|
|
bb2fc58 |
related: #1249384
|
|
|
bb2fc58 |
|
|
|
0584b09 |
* Sun Aug 02 2015 jchaloup <jchaloup@redhat.com> - 0-0.18.git8096f47
|
|
|
0584b09 |
- Update spec file to spec-2.0
|
|
|
0584b09 |
resolves: #1249384
|
|
|
0584b09 |
|
|
|
9ab77a2 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.17.git8096f47
|
|
|
9ab77a2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
9ab77a2 |
|
|
|
6f02faf |
* Tue Apr 21 2015 jchaloup <jchaloup@redhat.com> - 0-0.16.git8096f47
|
|
|
6f02faf |
- Bump to upstream 8096f47503459bcc74d1f4c487b7e6e42e5746b5
|
|
|
6f02faf |
related: #1001317
|
|
|
6f02faf |
|
|
|
4a54ba0 |
* Thu Jul 31 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.15.git
|
|
|
4a54ba0 |
- do not own dirs owned by golang
|
|
|
4a54ba0 |
- archfulness and defattr for el6 handled separately
|
|
|
4a54ba0 |
|
|
|
f7b5ecc |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.14.git136d54f
|
|
|
f7b5ecc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f7b5ecc |
|
|
|
b055a9c |
* Sat May 31 2014 Lokesh Mandvekar <lsm5@redhat.com> 0-0.13.git
|
|
|
b055a9c |
- update to commit 136d54f81f (required for docker 1.0
|
|
|
b055a9c |
https://github.com/dotcloud/docker/issues/5908 )
|
|
|
b055a9c |
|
|
|
80f8226 |
* Fri Jan 17 2014 Lokesh Mandvekar <lsm5@redhat.com> 0-0.12.gite718e93
|
|
|
80f8226 |
- exclusivearch for el6+
|
|
|
80f8226 |
- add check
|
|
|
80f8226 |
|
|
|
a8889de |
* Fri Jan 17 2014 Lokesh Mandvekar <lsm5@redhat.com> 0-0.11.gite718e93
|
|
|
a8889de |
- revert golang >= 1.2 version requirement
|
|
|
a8889de |
|
|
|
f552aa6 |
* Wed Jan 15 2014 Lokesh Mandvekar <lsm5@redhat.com> 0-0.10.gite718e93
|
|
|
f552aa6 |
- require golang 1.2 and later
|
|
|
f552aa6 |
|
|
|
30e68ca |
* Wed Oct 16 2013 Lokesh Mandvekar <lsm5@redhat.com> 0-0.9.gite718e93
|
|
|
30e68ca |
- double quotes removed from provides and br
|
|
|
30e68ca |
|
|
|
bdd5546 |
* Tue Oct 08 2013 Lokesh Mandvekar <lsm5@redhat.com> 0-0.8.gite718e93
|
|
|
bdd5546 |
- noarch for f19+ and rhel7+, exclusivearch otherwise
|
|
|
bdd5546 |
|
|
|
48862f6 |
* Mon Oct 07 2013 Lokesh Mandvekar <lsm5@redhat.com> 0-0.7.gite718e93
|
|
|
48862f6 |
- exclusivearch as per golang package
|
|
|
48862f6 |
- debug_package nil
|
|
|
48862f6 |
|
|
|
922e0c7 |
* Sun Sep 22 2013 Matthew Miller <mattdm@fedoraproject.org> 0-0.6.gite718e93
|
|
|
922e0c7 |
- install just the source code for devel package
|
|
|
922e0c7 |
|
|
|
41a3b1e |
* Tue Sep 17 2013 Lokesh Mandvekar <lsm5@redhat.com> 0-0.5.gite718e93
|
|
|
41a3b1e |
- Version format changed
|
|
|
41a3b1e |
- docdir changed
|
|
|
41a3b1e |
- debuginfo no longer generated
|
|
|
e9294ec |
- package owns all directories in goipath
|
|
|
41a3b1e |
|
|
|
41a3b1e |
* Mon Sep 16 2013 Lokesh Mandvekar <lsm5@redhat.com> gite718e93-4
|
|
|
41a3b1e |
- only devel package generated
|
|
|
41a3b1e |
- Provides moved to devel package
|
|
|
41a3b1e |
|
|
|
41a3b1e |
* Tue Sep 10 2013 Lokesh Mandvekar <lsm5@redhat.com> gite718e93-3
|
|
|
41a3b1e |
- Depends on golang("github.com/gorilla/context"), not golang directly
|
|
|
41a3b1e |
- Pkg archives handled (thanks to Vincent Batts (vbatts@redhat.com)
|
|
|
41a3b1e |
- Devel package generated
|
|
|
41a3b1e |
|
|
|
41a3b1e |
* Wed Aug 28 2013 Lokesh Mandvekar <lsm5@redhat.com> 0.0.1-2
|
|
|
41a3b1e |
- Fixed permissions
|
|
|
41a3b1e |
|
|
|
41a3b1e |
* Mon Aug 26 2013 Lokesh Mandvekar <lsm5@redhat.com> 0.0.1-1
|
|
|
41a3b1e |
- Initial fedora package
|