From 695181f107287e97fbfa63f4f594320a12fec33e Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jun 03 2019 21:33:43 +0000 Subject: Update to new macros Signed-off-by: Robert-André Mauchin --- diff --git a/golang-github-vividcortex-mysqlerr.spec b/golang-github-vividcortex-mysqlerr.spec index ce68f2f..b7bcba5 100644 --- a/golang-github-vividcortex-mysqlerr.spec +++ b/golang-github-vividcortex-mysqlerr.spec @@ -1,50 +1,48 @@ -%global goipath github.com/VividCortex/mysqlerr -%global commit 6c6b55f8796f578c870b7e19bafb16103bc40095 -Version: 0 +# Generated by go2rpm +%bcond_without check + +# https://github.com/VividCortex/mysqlerr +%global goipath github.com/VividCortex/mysqlerr +%global commit 6c6b55f8796f578c870b7e19bafb16103bc40095 %gometa +%global common_description %{expand: +MySQL Server Error Constants for Golang.} + +%global golicenses LICENSE +%global godocs README.md + Name: %{goname} -Release: 0.1%{?dist} -Summary: MySQL server error constants +Version: 0 +Release: 0.2%{?dist} +Summary: MySQL Server Error Constants for Golang + License: MIT URL: %{gourl} Source0: %{gosource} %description -%{summary}. - -%build -true - -%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 -p1 - +%goprep %install -%goinstall - +%gopkginstall +%if %{with check} %check -%gochecks - - -%files devel -f devel.file-list -%doc README.md -%license LICENSE +%gocheck +%endif +%gopkgfiles %changelog +* Mon Jun 03 23:23:06 CEST 2019 Robert-André Mauchin - 0-0.2.20190320git6c6b55f +- Update to new macros + * Wed Mar 20 2019 Mark Goodwin - 0-0.1.20190320git6c6b55f - First package for Fedora