# Run tests in check section %bcond_without check # https://github.com/pierrec/lz4 %global goipath github.com/pierrec/lz4 Version: 2.0.7 %global common_description %{expand: Package lz4 implements reading and writing lz4 compressed data (a frame), as specified in http://fastcompression.blogspot.fr/2013/04/lz4-streaming-format-final.html. This package is compatible with the LZ4 frame format although the block level compression and decompression functions are exposed and are fully compatible with the lz4 block format definition, they are low level and should not be used directly.} %gometa Name: %{goname} Release: 1%{?dist} Summary: LZ4 compression and decompression in pure Go # Detected licences # - BSD 3-clause "New" or "Revised" License at 'LICENSE' License: BSD URL: %{gourl} Source0: %{gosource} %description %{common_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{common_description} This package contains library source intended for building other packages which use import path with %{goipath} prefix. %prep %forgeautosetup %install %goinstall %if %{with check} %check %gochecks %endif %files devel -f devel.file-list %license LICENSE %doc README.md %changelog * Mon Oct 29 2018 Robert-André Mauchin - 2.0.7-1 - First package for Fedora