diff --git a/golang-github-jedisct1-dlog.spec b/golang-github-jedisct1-dlog.spec index a999ae5..a46af57 100644 --- a/golang-github-jedisct1-dlog.spec +++ b/golang-github-jedisct1-dlog.spec @@ -1,62 +1,53 @@ -# Run tests in check section +# Generated by go2rpm %bcond_without check +# https://github.com/jedisct1/dlog %global goipath github.com/jedisct1/dlog Version: 0.4 +%global tag 0.4 + +%gometa %global common_description %{expand: -A super simple logger for Go. Supports stderr, logfiles, syslog and windows +A super simple logger for Go. Supports stderr, logfiles, syslog and windows event log.} -%gometa +%global golicenses LICENSE +%global godocs README.md Name: %{goname} -Release: 1%{?dist} -Summary: A super simple logger for Go +Release: 2%{?dist} +Summary: Super simple logger for Go + +# Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} -Source0: %{gourl}/archive/%{version}/dlog-%{version}.tar.gz +Source0: %{gosource} -BuildRequires: golang(github.com/hashicorp/go-syslog) +BuildRequires: golang(github.com/hashicorp/go-syslog) %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. - +%gopkg %prep -%forgeautosetup - -rm -rf vendor - +%goprep %install -%goinstall - +%gopkginstall %if %{with check} %check -%gochecks +%gocheck %endif - -%files devel -f devel.file-list -%license LICENSE -%doc README.md - +%gopkgfiles %changelog +* Tue May 28 17:29:11 CEST 2019 Robert-André Mauchin - 0.4-2 +- Update to new macros + * Mon Mar 11 2019 Robert-André Mauchin - 0.4-1 - Release 0.4 (#1687256) @@ -71,4 +62,3 @@ rm -rf vendor * Thu Apr 12 2018 Robert-André Mauchin - 0.3-1 - First package for Fedora -