# Generated by go2rpm 1.10.0
%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.17.8
%gometa -L
%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 snappy/LICENSE snappy/xerial/LICENSE\\\
s2/LICENSE gzhttp/LICENSE
%global godocs SECURITY.md README.md snappy/CONTRIBUTORS\\\
snappy/README.md snappy/AUTHORS\\\
snappy/xerial/README.md dict/README.md\\\
huff0/README.md s2/README.md gzhttp/README.md\\\
zstd/README.md fse/README.md
Name: %{goname}
Release: %autorelease
Summary: Optimized Go Compression Packages
License: Apache-2.0 AND BSD-3-Clause AND MIT
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep -A
%generate_buildrequires
%go_generate_buildrequires
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
%autochangelog