diff --git a/golang-github-bep-debounce.spec b/golang-github-bep-debounce.spec index 9c2422d..e5a8910 100644 --- a/golang-github-bep-debounce.spec +++ b/golang-github-bep-debounce.spec @@ -1,49 +1,49 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/bep/debounce %global goipath github.com/bep/debounce Version: 1.2.0 %gometa +%global common_description %{expand: +Package Debounce provides a debouncer func. The most typical use case would be +the user typing a text into a form; the UI needs an update, but let's wait for a +break.} + +%global golicenses LICENSE +%global godocs README.md + Name: %{goname} -Release: 1%{?dist} -Summary: A debouncer written in Go -# Detected licences -# - Expat License at 'LICENSE' +Release: 2%{?dist} +Summary: Debouncer written in Go + License: MIT URL: %{gourl} Source0: %{gosource} %description -%{summary} - - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel -%{summary} - -This package contains library source intended for building other packages which -use import path with %{goipath} prefix. +%{common_description} +%gopkg %prep -%forgeautosetup - +%goprep %install -%goinstall - +%gopkginstall +%if %{with check} %check -%gochecks - - -%files devel -f devel.file-list -%doc README.md -%license LICENSE +%gocheck +%endif +%gopkgfiles %changelog +* Fri May 24 16:40:07 CEST 2019 Robert-André Mauchin - 1.2.0-2 +- Update to new macros + * Sun Feb 10 2019 Elliott Sales de Andrade - 1.2.0-1 - First package for Fedora