Files
golang-github-spaolacci-mur…/golang-github-spaolacci-murmur3.spec
2025-01-15 13:31:16 +01:00

57 lines
1009 B
RPMSpec

# Generated by go2rpm 1.15.0
%bcond check 1
%bcond bootstrap 0
%global debug_package %{nil}
%if %{with bootstrap}
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
%endif
# https://github.com/spaolacci/murmur3
%global goipath github.com/spaolacci/murmur3
Version: 1.1.0
%gometa -L -f
%global common_description %{expand:
Native MurmurHash3 Go implementation.}
%global golicenses LICENSE
%global godocs README.md
Name: golang-github-spaolacci-murmur3
Release: %autorelease
Summary: Native MurmurHash3 Go implementation
License: BSD-3-Clause
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep -A
%autopatch -p1 -q
%if %{without bootstrap}
%generate_buildrequires
%go_generate_buildrequires
%endif
%install
%gopkginstall
%if %{without bootstrap}
%if %{with check}
%check
%gocheck
%endif
%endif
%gopkgfiles
%changelog
%autochangelog