# Generated by go2rpm
%bcond_without check

# https://github.com/influxdata/influxdb1-client
%global goipath         github.com/influxdata/influxdb1-client
%global commit          b269163b24ab8e62026d13a92aa988a7389c3b4e

%gometa

%global common_description %{expand:
Influxdb1-clientv2 is the current Go client API for InfluxDB 1.x.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Version:        0
Release:        0.11%{?dist}
Summary:        Old clientv2 for InfluxDB 1.x

License:        MIT
URL:            %{gourl}
Source:         %{gosource}
Patch:          https://github.com/influxdata/influxdb1-client/pull/60.patch#/fix-test-failures.patch

%description
%{common_description}

%gopkg

%prep
%goprep
%autopatch -p1

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Wed Jan 18 2023 Maxwell G <gotmax@e.email> - 0-0.11
- Add patch to fix test failures
- Fix FTBFS.
- Closes: rhbz#2045526

* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Sat Jan 09 22:12:49 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.6.20210109gitb269163
- Bump to commit b269163b24ab8e62026d13a92aa988a7389c3b4e

* Tue Jul 28 00:19:01 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.5.20200728git02f0bf5
- Bump to commit 02f0bf5dbca364fe200ee3f5709c8cc0c9bda0d0

* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

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

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Wed May 15 02:06:43 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190626git8ff2fc3
- Initial package