# Generated by go2rpm 1.3
%bcond_without check

# https://git.sr.ht/~spc/go-log
%global goipath         git.sr.ht/~spc/go-log
%global forgeurl        https://git.sr.ht/~spc/go-log
Version:                0.1.0
%global repo            go-log
%global archivename     %{repo}-%{version}
%global archiveext      tar.gz
%global archiveurl      %{forgeurl}/archive/%{version}.%{archiveext}
%global topdir          %{repo}-%{version}

%gometa

%global common_description %{expand:
Package log implements a simple level logging package that maintains API
compatibility with the standard library log package. It extends the standard
library log.Logger type with a Level type that can be used to define output
verbosity. It adds additional methods that will be printed only if the logger
is configured at or below a given level.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        5%{?dist}
Summary:        None

License:        GPLv3
URL:            %{gourl}
Source0:        %{gosource}

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

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

* Wed Jul 28 2021 Link Dupont <linkdupont@fedoraproject.org> - 0.1.0-3
- Remove redundant "tag" macro
- Define "topdir" macro explicitly

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

* Thu Jun 10 14:43:45 EDT 2021 Link Dupont <linkdupont@fedoraproject.org> - 0.1.0-1
- Initial package