From adb93ca1bb49e93d2ce28fdf1c996b07f84a22fc Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Apr 28 2019 21:38:28 +0000 Subject: Update to new macros Signed-off-by: Robert-André Mauchin --- diff --git a/golang-github-ttacon-chalk.spec b/golang-github-ttacon-chalk.spec index ac3c4d7..9be0cf5 100644 --- a/golang-github-ttacon-chalk.spec +++ b/golang-github-ttacon-chalk.spec @@ -1,19 +1,23 @@ -# Run tests in check section +# Generated by go2rpm %bcond_without check # https://github.com/ttacon/chalk %global goipath github.com/ttacon/chalk +Version: 0.1 %global commit 22c06c80ed312dcb6e1cf394f9634aa2c4676e22 +%gometa + %global common_description %{expand: Chalk is a go package for styling console/terminal output.} -%gometa +%global golicenses LICENSE +%global godocs examples README.md Name: %{goname} -Version: 0.1 -Release: 0.1%{?dist} +Release: 2%{?dist} Summary: Intuitive package for prettifying terminal/console output + License: MIT URL: %{gourl} Source0: %{gosource} @@ -21,39 +25,24 @@ Source0: %{gosource} %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 - +%goprep %install -%goinstall - +%gopkginstall %if %{with check} %check -%gochecks +%gocheck %endif - -%files devel -f devel.file-list -%license LICENSE -%doc README.md - +%gopkgfiles %changelog +* Sun Apr 28 23:30:07 CEST 2019 Robert-André Mauchin - 0.1-2.20190306git22c06c8 +- Update to new macros + * Sun Mar 03 2019 Robert-André Mauchin - 0.1-0.1.20190306git22c06c8 - First package for Fedora -