From 0bddaf44cfef4644562891ec5d7aea5eb0ea6e4d Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: May 24 2019 17:06:16 +0000 Subject: Release 0.5.3 Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore index 8a00555..5d0946a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /golang-github-kurin-blazer-0.4.4.tar.gz +/blazer-0.5.3.tar.gz diff --git a/golang-github-kurin-blazer.spec b/golang-github-kurin-blazer.spec index eef0453..28b2b58 100644 --- a/golang-github-kurin-blazer.spec +++ b/golang-github-kurin-blazer.spec @@ -1,68 +1,73 @@ -# https://github.com/kurin/blazer -%global goipath github.com/kurin/blazer -Version: 0.4.4 - -%global common_description %{expand: -Blazer is a Golang client library for Backblaze's B2 object storage service. -It is designed for simple integration with existing applications that may -already be using S3 and Google Cloud Storage, by exporting only a few -standard Go types. +# Generated by go2rpm +%bcond_without check -It implements and satisfies the B2 integration checklist, automatically -handling error recovery, reauthentication, and other low-level aspects, -making it suitable to upload very large files, or over multi-day time scales.} +# https://github.com/kurin/blazer +%global goipath github.com/kurin/blazer +Version: 0.5.3 -%gometa -i +%gometa -Name: %{goname} -Release: 4%{?dist} -Summary: A Go library for Backblaze's B2. -License: ASL 2.0 -URL: %{gourl} -Source0: https://%{goipath}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +%global common_description %{expand: +Blazer is a Golang client library for Backblaze's B2 object storage service. It +is designed for simple integration with existing applications that may already +be using S3 and Google Cloud Storage, by exporting only a few standard Go +types.} + +%global golicenses LICENSE +%global godocs examples AUTHORS CONTRIBUTING.md README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Go library for Backblaze's B2 + +# Upstream license specification: Apache-2.0 +License: ASL 2.0 +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/golang/protobuf/proto) +BuildRequires: golang(github.com/google/subcommands) +BuildRequires: golang(github.com/google/uuid) +BuildRequires: golang(github.com/grpc-ecosystem/grpc-gateway/runtime) +BuildRequires: golang(github.com/grpc-ecosystem/grpc-gateway/utilities) +BuildRequires: golang(golang.org/x/net/context) +BuildRequires: golang(google.golang.org/genproto/googleapis/api/annotations) +BuildRequires: golang(google.golang.org/grpc) +BuildRequires: golang(google.golang.org/grpc/codes) +BuildRequires: golang(google.golang.org/grpc/grpclog) +BuildRequires: golang(google.golang.org/grpc/metadata) +BuildRequires: golang(google.golang.org/grpc/status) %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 -%forgesetup - +%goprep %install -%goinstall +%gopkginstall +%if %{with check} %check -%gochecks +%gocheck +%endif -#define license tag if not already defined -%{!?_licensedir:%global license %doc} - - -%files devel -f devel.file-list -%license LICENSE -%doc CONTRIBUTING.md README.md +%gopkgfiles %changelog -* Fri Feb 01 2019 Fedora Release Engineering - Forge-specific packaging variables +* Fri May 24 18:46:24 CEST 2019 Robert-André Mauchin - 0.5.3-1 +- Release 0.5.3 + +* Fri Feb 01 2019 Fedora Release Engineering - 0.4.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild -* Tue Oct 23 2018 Nicolas Mailhot -- 0.4.4-3 +* Tue Oct 23 2018 Nicolas Mailhot - 0.4.4-3 - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ -* Fri Jul 13 2018 Fedora Release Engineering - Forge-specific packaging variables +* Fri Jul 13 2018 Fedora Release Engineering - 0.4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 14 2018 Steve Miller (copart) - 0.4.4-1 diff --git a/sources b/sources index f8d9d22..cf3a481 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (golang-github-kurin-blazer-0.4.4.tar.gz) = cbc9369a6d94b1b31abe2449db3970be6215f2acecbcd753dbd143b67fa3155d6d1390263cd2c9bdd8d1d5fe8ed0a56c183946ba4baab3306178df8d4717123f +SHA512 (blazer-0.5.3.tar.gz) = 9d41c746eae39a8e61d92344d7cdd1c50bb302f35941bfb2dbad6e31ed28cc16a1da90d21bb3ebcc3788e654f1008f430f61aea3b06dd4ece91b60031d5ee729