From 3b97fbb0195d67866d26874b698101af57908028 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Apr 25 2019 14:36:07 +0000 Subject: Update to new macros Signed-off-by: Robert-André Mauchin --- diff --git a/golang-github-satori-uuid.spec b/golang-github-satori-uuid.spec index 24381c4..364de14 100644 --- a/golang-github-satori-uuid.spec +++ b/golang-github-satori-uuid.spec @@ -1,11 +1,14 @@ -# Run tests in check section +# Generated by go2rpm %bcond_without check +# https://github.com/satori/go.uuid %global goipath github.com/satori/go.uuid Version: 1.2.0 +%gometa + %global common_description %{expand: -This package provides pure Go implementation of Universally Unique Identifier +This package provides pure Go implementation of Universally Unique Identifier (UUID). Supported both creation and parsing of UUIDs. With 100% test coverage and benchmarks out of box. @@ -17,55 +20,44 @@ Supported versions: - Version 4, based on random numbers (RFC 4122) - Version 5, based on SHA-1 hashing (RFC 4122)} -%gometa +%global golicenses LICENSE +%global godocs README.md Name: %{goname} -Release: 3%{?dist} -Summary: UUID package for Go +Release: 4%{?dist} +Summary: Uuid package for Go + License: MIT URL: %{gourl} Source0: %{gosource} %if %{with check} -BuildRequires: golang(gopkg.in/check.v1) +# Tests +BuildRequires: golang(gopkg.in/check.v1) %endif %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 +* Thu Apr 25 16:08:46 CEST 2019 Robert-André Mauchin - 1.2.0-4 +- Update to new macros + * Fri Feb 01 2019 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild @@ -74,4 +66,3 @@ building other packages which use import path with * Mon Mar 26 2018 Robert-André Mauchin - 1.2.0-1 - First package for Fedora -