Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions golang-github-dnstap-golang-dnstap.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
%global debug_package %{nil}

# https://github.com/dnstap/golang-dnstap
%global goipath github.com/dnstap/golang-dnstap
Version: 0.4.0

%gometa

%global common_description %{expand:
Implements an encoding format for DNS server events.}

%global golicences LICENSE
%global godocs README

Name: %{goname}
Release: %autorelease
Summary: DNS server event encoding format

License: Apache-2.0
URL: %{gourl}
Source0: %{gosource}

%description
%{common_description}

%gopkg

%prep
%goprep

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
%autochangelog