From 0e45a2438f7496383037c33fbcd21e3236a7db4c Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jul 03 2019 16:36:28 +0000 Subject: Update to new macros Signed-off-by: Robert-André Mauchin --- diff --git a/golang-github-pebbe-zmq4.spec b/golang-github-pebbe-zmq4.spec index d50f8c6..1eb7df1 100644 --- a/golang-github-pebbe-zmq4.spec +++ b/golang-github-pebbe-zmq4.spec @@ -1,52 +1,55 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/pebbe/zmq4 %global goipath github.com/pebbe/zmq4 Version: 1.0.0 %gometa +%global godevelheader %{expand: +Requires: zeromq-devel >= 4.0.1} + +%global common_description %{expand: +A Go interface to ZeroMQ version 4.} + +%global golicenses LICENSE.txt +%global godocs examples README.md + Name: %{goname} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Go interface to ZeroMQ version 4 + +# Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} -%description -%{summary} - - -%package devel -Summary: %{summary} -BuildArch: noarch +BuildRequires: golang(github.com/pborman/uuid) +BuildRequires: zeromq-devel >= 4.0.1 -BuildRequires: golang(github.com/pborman/uuid) -BuildRequires: zeromq-devel >= 4.0.1 -Requires: zeromq-devel >= 4.0.1 - -%description devel -%{summary} - -This package contains library source intended for building other packages which -use import path with %{goipath} prefix. +%description +%{common_description} +%gopkg %prep -%forgesetup - +%goprep %install -%goinstall - +%gopkginstall +%if %{with check} %check -%gochecks - - -%files devel -f devel.file-list -%license LICENSE.txt -%doc README.md +%gocheck +%endif +%gopkgfiles %changelog +* Sun Jun 02 00:38:35 CEST 2019 Robert-André Mauchin - 1.0.0-4 +- Update to new macros + * Fri Feb 01 2019 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild