diff --git a/golang-github-tv42-httpunix.spec b/golang-github-tv42-httpunix.spec index 738f810..8606994 100644 --- a/golang-github-tv42-httpunix.spec +++ b/golang-github-tv42-httpunix.spec @@ -1,18 +1,22 @@ +# Generated by go2rpm +%bcond_without check + # https://github.com/tv42/httpunix %global goipath github.com/tv42/httpunix %global commit b75d8614f926c077e48d85f1f8f7885b758c6225 +%gometa + %global common_description %{expand: -Go library to talk HTTP over Unix domain sockets.} +Go library to talk http over unix domain sockets.} -%gometa +%global golicenses LICENSE Name: %{goname} Version: 0 -Release: 0.1%{?dist} -Summary: Go library to talk HTTP over Unix domain sockets -# Detected licences -# - Expat License at 'LICENSE' +Release: 0.2%{?dist} +Summary: Go library to talk http over unix domain sockets + License: MIT URL: %{gourl} Source0: %{gosource} @@ -20,36 +24,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 - - -%files devel -f devel.file-list -%license LICENSE +%gocheck +%endif +%gopkgfiles %changelog +* Thu Apr 18 15:03:26 CEST 2019 Robert-André Mauchin - 0-0.2.20190305gitb75d861 +- Update to new macros + * Tue Mar 05 2019 Robert-André Mauchin - 0-0.1.20190305gitb75d861 - First package for Fedora -