Blame golang-github-hashicorp-go-cleanhttp.spec

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