diff --git a/.gitignore b/.gitignore index 3b94d1a..0461cb5 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /gateway-5795ac8.tar.gz /gateway-cbcf4e3.tar.gz /gateway-cbcf4e3f3baee7952fc386c8b2534af4d267c875.tar.gz +/gateway-1.0.5.tar.gz diff --git a/golang-github-jackpal-gateway.spec b/golang-github-jackpal-gateway.spec index f068f29..9ebbb41 100644 --- a/golang-github-jackpal-gateway.spec +++ b/golang-github-jackpal-gateway.spec @@ -1,53 +1,57 @@ +# Generated by go2rpm +%bcond_without check + # https://github.com/jackpal/gateway -%global goipath github.com/jackpal/gateway -%global commit cbcf4e3f3baee7952fc386c8b2534af4d267c875 -%global date 20180407 +%global goipath github.com/jackpal/gateway +Version: 1.0.5 %gometa +%global common_description %{expand: +A simple library for discovering the IP address of the default gateway.} + Name: %{goname} -Version: 1.0.4 -Release: 0.9%{?dist} -Summary: Discovering the address of a LAN gateway in go -License: BSD +Release: 1%{?dist} +Summary: Library for discovering the address of a lan gateway +# Upstream license specification: BSD-3-Clause +License: BSD URL: %{gourl} -Source0: %{gosource} +Source: %{gosource} %description -%{summary} - +%{common_description} -%package devel -Summary: %{summary} -BuildArch: noarch +%package devel +Summary: %{summary} +BuildArch: noarch -%description devel -%{summary} +%description devel +%{common_description} This package contains library source intended for building other packages which use import path with %{goipath} prefix. - %prep %forgeautosetup -p1 - %install %goinstall - +%if %{with check} %check %gochecks - +%endif %files devel -f devel.file-list %license LICENSE %doc README.md - %changelog +* Wed Apr 03 23:13:32 CEST 2019 Robert-André Mauchin - 1.0.5-1 +- Release 1.0.5 (#1695232) + * Fri Feb 01 2019 Fedora Release Engineering - 1.0.4-0.9.20180407gitcbcf4e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index d8c674e..38bc619 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gateway-cbcf4e3f3baee7952fc386c8b2534af4d267c875.tar.gz) = c55ceca1ac6710003e078c48e3056163349b68a1dddb7b1b492f3f3969d8d24c5ec1bc00630fdb761315b4a7fb95a3283a1953172213ff0b030bab47077a6360 +SHA512 (gateway-1.0.5.tar.gz) = ae490a8d5a7480d3548fdcb444b6c3e8741ff2254a037b3a3bb4e0dfeae8ff969e5e3a0df1ef454165cec152c4cbfec864eb2f2d2188f95bbfe0a0b3ffc5e24d