From b754643ad01b7850bc2b7e333f2d50cf23f20c03 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: May 24 2019 15:04:22 +0000 Subject: Update to new macros Signed-off-by: Robert-André Mauchin --- diff --git a/golang-github-djherbis-times.spec b/golang-github-djherbis-times.spec index fa87011..4abd525 100644 --- a/golang-github-djherbis-times.spec +++ b/golang-github-djherbis-times.spec @@ -1,17 +1,22 @@ -# Run tests in check section +# Generated by go2rpm %bcond_without check +# https://github.com/djherbis/times %global goipath github.com/djherbis/times Version: 1.2.0 +%gometa + %global common_description %{expand: Golang file times (atime, mtime, ctime, btime).} -%gometa +%global golicenses LICENSE +%global godocs example README.md Name: %{goname} Release: 1%{?dist} -Summary: Golang file times (atime, mtime, ctime, btime) +Summary: Golang file times (atime, mtime, ctime, btime) + License: MIT URL: %{gourl} Source0: %{gosource} @@ -19,39 +24,25 @@ 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 +* Fri May 24 16:55:27 CEST 2019 Robert-André Mauchin - 1.2.0-2 +- Update to new macros + * Mon Feb 25 2019 Robert-André Mauchin - 1.2.0-1 - Update to release 1.2.0 @@ -63,4 +54,3 @@ building other packages which use import path with * Tue Mar 20 2018 Robert-André Mauchin - 1.0.1-1 - First package for Fedora -