# http://github.com/klauspost/crc32 %global goipath github.com/klauspost/crc32 %global commit 89873b58f19dea110d68c709d6dd7928601ffb18 %gometa -i Name: %{goname} Version: 0 Release: 0.11%{?dist} Summary: CRC32 hash with x64 optimizations # Detected licences # - BSD (3 clause) at 'LICENSE' Group: Development/Other License: BSD URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.yaml %description %{summary} %package devel Summary: %{summary} %description devel %{summary} This package contains library source intended for building other packages which use import path with %{goipath} prefix. %prep %gosetup -q cp %{SOURCE1} %{SOURCE2} . %install %goinstall glide.lock glide.yaml %check %gochecks #define license tag if not already defined %{!?_licensedir:%global license %doc} %files devel -f devel.file-list %license LICENSE %doc README.md %changelog * Wed Nov 21 2018 pterjan <pterjan> 0-0.11.20181121git89873b5.mga6 + Revision: 1332999 - imported package golang-github-klauspost-crc32