# Generated by go2rpm 1.8.1
%bcond_without check
%global debug_package %{nil}
# lower memory usage on 32-bit
# shorten test duration on aarch64
# https://github.com/klauspost/compress/issues/532
%ifarch aarch64 armv7hl i686
%global gotestflags -short %{gotestflags}
%endif
# https://github.com/klauspost/compress
%global goipath github.com/klauspost/compress
Version: 1.15.15
%gometa
%global common_description %{expand:
This package is based on an optimized Deflate function, which is used by
gzip/zip/zlib packages.
It offers slightly better compression at lower compression settings, and up to
3x faster encoding at highest compression level.}
%global golicenses LICENSE
%global godocs README.md
Name: %{goname}
Release: %autorelease
Summary: Optimized Go Compression Packages
License: BSD-3-Clause and Apache-2.0 and MIT
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep
%generate_buildrequires
%go_generate_buildrequires
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
%autochangelog