From acfa86d90f5fe51cb702c4b5bc097658ee00ce67 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Mar 04 2018 20:10:22 +0000 Subject: Update to spec 3.0 --- diff --git a/.gitignore b/.gitignore index 02553f8..2c2088f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/protobuf-24f28ae.tar.gz +/protobuf-24f28ae800abfde9310e779f94be606b1a98a3fc.tar.gz diff --git a/golang-googlecode-goprotobuf.spec b/golang-googlecode-goprotobuf.spec index 7d31f73..8d41660 100644 --- a/golang-googlecode-goprotobuf.spec +++ b/golang-googlecode-goprotobuf.spec @@ -1,15 +1,12 @@ -%global provider_prefix github.com/golang/protobuf +%global goipath github.com/golang/protobuf %global commit 24f28ae800abfde9310e779f94be606b1a98a3fc -%global commitdate 20161116 -%global gobaseipath %{provider_prefix} -%global __go_ignore_regex /testdata -%global __go_ignore_trees %{gobaseipath}/_conformance +%global goignoreflags -r /testdata -t _conformance -%gocraftmeta -i +%gometa -i Name: golang-googlecode-goprotobuf Version: 0 -Release: 0.33.%{commitdate}git%{shortcommit}%{?dist} +Release: 0.34%{?dist} Summary: Go support for Google protocol buffers License: BSD URL: %gourl @@ -38,26 +35,27 @@ Install %{name} for the related protocol compiler plugin. This package contains library source intended for building other packages which use import path with -%{gobaseipath} prefix. +%{goipath} prefix. %prep -%gosetup +%forgesetup %build %gobuildroot -%gobuild -o _bin/protoc %{gobaseipath}/protoc-gen-go +%gobuild -o _bin/protoc %{goipath}/protoc-gen-go %install install -d %{buildroot}%{_bindir} install -m 755 _bin/protoc %{buildroot}/%{_bindir}/protoc # source codes for building projects -%goinstall $(find . -name "testdata" -type d) +files=$(find . -name "testdata" -type d) +%goinstall $files %check export PATH=$PATH:$(pwd)/_bin -%gochecks %{gobaseipath}{/proto/testdata,/proto} +%gochecks -d proto/testdata -d proto #define license tag if not already defined %{!?_licensedir:%global license %doc} @@ -71,6 +69,9 @@ export PATH=$PATH:$(pwd)/_bin %doc *.md AUTHORS CONTRIBUTORS %changelog +* Sun Mar 04 2018 Jan Chaloupka - 0-0.34.git24f28ae +- Update to spec 3.0 + * Wed Feb 28 2018 Jan Chaloupka - 0-0.33.20161116git24f28ae - Exclude _conformance directory diff --git a/sources b/sources index c9d20b4..b206e98 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (protobuf-24f28ae.tar.gz) = d3e4ea9bf82fa023d7e2f9a7f45df6ffded40d5c0cc66f2829fc28c903e6293e1323261556df627d1e56bef61873d44bac0e7e1ab23e6f7347684947f40e9946 +SHA512 (protobuf-24f28ae800abfde9310e779f94be606b1a98a3fc.tar.gz) = d3e4ea9bf82fa023d7e2f9a7f45df6ffded40d5c0cc66f2829fc28c903e6293e1323261556df627d1e56bef61873d44bac0e7e1ab23e6f7347684947f40e9946