diff --git a/.gitignore b/.gitignore index 589fa16..f9dd316 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /asn1-ber-v1-1.2.tar.gz /asn1-ber-v1-1.3.tar.gz +/asn1-ber-1.3.tar.gz diff --git a/golang-gopkg-asn1-ber-1.spec b/golang-gopkg-asn1-ber-1.spec index 6d1bdc3..f051962 100644 --- a/golang-gopkg-asn1-ber-1.spec +++ b/golang-gopkg-asn1-ber-1.spec @@ -1,53 +1,49 @@ -# https://gopkg.in/asn1-ber.v1 -%global goipath gopkg.in/asn1-ber.v1 -%global tag v1.3 +# Generated by go2rpm +%bcond_without check -Version: 1.3 +# https://github.com/go-asn1-ber/asn1-ber +%global goipath gopkg.in/asn1-ber.v1 +%global forgeurl https://github.com/go-asn1-ber/asn1-ber +Version: 1.3 %gometa -Name: %{goname} -Release: 2%{?dist} -Summary: ASN1 BER Encoding / Decoding Library for Go -License: MIT +%global common_description %{expand: +Asn1 ber encoding / decoding library for the Go programming language.} -URL: https://github.com/go-asn1-ber/asn1-ber -Source0: %{url}/archive/%{tag}/asn1-ber-v1-%{version}.tar.gz - -%description -%{summary} +%global golicenses LICENSE +%global godocs README.md +Name: %{goname} +Release: 3%{?dist} +Summary: Asn1 ber encoding / decoding library for the Go programming language -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel -%{summary} +License: MIT +URL: %{gourl} +Source0: %{gosource} -This package contains library source intended for -building other packages which use import path with -%{goipath} prefix. +%description +%{common_description} +%gopkg %prep -%autosetup -n asn1-ber-%{version} -p1 - +%goprep %install -%goinstall - +%gopkginstall +%if %{with check} %check -%gochecks - - -%files devel -f devel.file-list -%license LICENSE -%doc README.md +%gocheck +%endif +%gopkgfiles %changelog +* Wed Apr 17 09:09:38 CEST 2019 Robert-André Mauchin - 1.3-3 +- Update to new macros + * Fri Feb 01 2019 Fedora Release Engineering - 1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 130cc63..5dede42 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (asn1-ber-v1-1.3.tar.gz) = 532749da4bdb09fe7a293f0784a6d26a4799d2744c66e0d02133b1447929755dc17ae4e647f5072ad3cabbf888aa3bc7401a5fa32ceb85cd537b45525894218b +SHA512 (asn1-ber-1.3.tar.gz) = 532749da4bdb09fe7a293f0784a6d26a4799d2744c66e0d02133b1447929755dc17ae4e647f5072ad3cabbf888aa3bc7401a5fa32ceb85cd537b45525894218b