|
|
18ba898 |
# https://github.com/hashicorp/go-cleanhttp
|
|
|
6ae6e18 |
%global goipath github.com/hashicorp/go-cleanhttp
|
|
|
18ba898 |
Version: 0.5.1
|
|
|
ad9d225 |
|
|
|
18ba898 |
%global common_description %{expand:
|
|
|
18ba898 |
Functions for accessing "clean" Go http.Client values.}
|
|
|
e8b575b |
|
|
|
18ba898 |
%gometa
|
|
|
6ae6e18 |
|
|
|
6ae6e18 |
Name: golang-github-hashicorp-go-cleanhttp
|
|
|
18ba898 |
Release: 1%{?dist}
|
|
|
ad9d225 |
Summary: Functions for accessing "clean" Go http.Client values
|
|
|
ad9d225 |
License: MPLv2.0
|
|
|
e8b575b |
URL: %{gourl}
|
|
|
e8b575b |
Source0: %{gosource}
|
|
|
6ae6e18 |
Source1: glide.yaml
|
|
|
18ba898 |
Source2: glide.lock
|
|
|
ad9d225 |
|
|
|
ad9d225 |
%description
|
|
|
18ba898 |
%{common_description}
|
|
|
18ba898 |
|
|
|
ad9d225 |
|
|
|
ad9d225 |
%package devel
|
|
|
ad9d225 |
Summary: %{summary}
|
|
|
ad9d225 |
BuildArch: noarch
|
|
|
ad9d225 |
|
|
|
ad9d225 |
%description devel
|
|
|
18ba898 |
%{common_description}
|
|
|
ad9d225 |
|
|
|
ad9d225 |
This package contains library source intended for
|
|
|
ad9d225 |
building other packages which use import path with
|
|
|
6ae6e18 |
%{goipath} prefix.
|
|
|
ad9d225 |
|
|
|
ad9d225 |
%prep
|
|
|
9df9c72 |
%forgesetup
|
|
|
6ae6e18 |
cp %{SOURCE1} %{SOURCE2} .
|
|
|
18ba898 |
|
|
|
18ba898 |
|
|
|
ad9d225 |
%install
|
|
|
6ae6e18 |
%goinstall glide.lock glide.yaml
|
|
|
ad9d225 |
|
|
|
18ba898 |
|
|
|
18ba898 |
# Remove in F33
|
|
|
18ba898 |
# Remove erroneous glide.lock folder
|
|
|
18ba898 |
%pretrans devel -p <lua>
|
|
|
18ba898 |
path = "%{gopath}/src/%{goipath}/glide.lock"
|
|
|
18ba898 |
st = posix.stat(path)
|
|
|
18ba898 |
if st and st.type == "directory" then
|
|
|
18ba898 |
os.remove(path)
|
|
|
18ba898 |
end
|
|
|
18ba898 |
|
|
|
18ba898 |
|
|
|
ad9d225 |
%check
|
|
|
e8b575b |
%gochecks
|
|
|
ad9d225 |
|
|
|
ad9d225 |
|
|
|
ad9d225 |
%files devel -f devel.file-list
|
|
|
ad9d225 |
%license LICENSE
|
|
|
ad9d225 |
%doc README.md
|
|
|
ad9d225 |
|
|
|
18ba898 |
|
|
|
ad9d225 |
%changelog
|
|
|
18ba898 |
* Sun Mar 24 22:32:06 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.5.1-1
|
|
|
18ba898 |
- Release 0.5.1 (#1690719)
|
|
|
18ba898 |
|
|
|
18ba898 |
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 0-0.12.git5df5ddc
|
|
|
9df9c72 |
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
|
|
|
9df9c72 |
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
|
|
|
9df9c72 |
|
|
|
18ba898 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.11.git5df5ddc
|
|
|
27004ce |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
27004ce |
|
|
|
6ae6e18 |
* Tue Jun 12 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.10.git5df5ddc
|
|
|
6ae6e18 |
- Upload glide files
|
|
|
6ae6e18 |
|
|
|
e8b575b |
* Wed Feb 28 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.9.20151022git5df5ddc
|
|
|
e8b575b |
- Autogenerate some parts using the new macros
|
|
|
e8b575b |
|
|
|
b7b96d9 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.8.git5df5ddc
|
|
|
b7b96d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
b7b96d9 |
|
|
|
d0a87b9 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.7.git5df5ddc
|
|
|
d0a87b9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
d0a87b9 |
|
|
|
79f2a7a |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6.git5df5ddc
|
|
|
79f2a7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
79f2a7a |
|
|
|
5e7659c |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.5.git5df5ddc
|
|
|
5e7659c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
5e7659c |
|
|
|
6503f0c |
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.4.git5df5ddc
|
|
|
6503f0c |
- https://fedoraproject.org/wiki/Changes/golang1.7
|
|
|
6503f0c |
|
|
|
0b16a60 |
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.3.git5df5ddc
|
|
|
0b16a60 |
- https://fedoraproject.org/wiki/Changes/golang1.6
|
|
|
0b16a60 |
|
|
|
f68c7dc |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2.git5df5ddc
|
|
|
f68c7dc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
f68c7dc |
|
|
|
ad9d225 |
* Wed Jan 06 2016 jchaloup <jchaloup@redhat.com> - 0-0.1.git5df5ddc
|
|
|
ad9d225 |
- First package for Fedora
|
|
|
ad9d225 |
|