lsm5 pushed to go-bindata (f21). "update to latest master commit (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 3 15:00:35 UTC 2015


>From 7c2401a391a078f82c568786d747ff43dfd18673 Mon Sep 17 00:00:00 2001
From: Lokesh Mandvekar <lsm5 at fedoraproject.org>
Date: Tue, 2 Dec 2014 11:36:23 -0800
Subject: update to latest master commit

Signed-off-by: Lokesh Mandvekar <lsm5 at fedoraproject.org>

diff --git a/.gitignore b/.gitignore
index 869a4fa..23c7bff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /go-bindata-79847ab.tar.gz
+/go-bindata-f94581b.tar.gz
diff --git a/go-bindata.spec b/go-bindata.spec
index 5aeeb42..922c11c 100644
--- a/go-bindata.spec
+++ b/go-bindata.spec
@@ -1,18 +1,17 @@
 %global debug_package   %{nil}
 %global import_path     github.com/jteeuwen/go-bindata
-%global gopath          %{_datadir}/gocode
-%global commit          79847ab3e91ae5d2e1b18796c1795c78f29565d7
+%global commit          f94581bd91620d0ccd9c22bb1d2de13f6a605857
 %global shortcommit     %(c=%{commit}; echo ${c:0:7})
 
 Name:           go-bindata
-Version:        0
-Release:        0.6.git%{shortcommit}%{?dist}
+Version:        3.0.7
+Release:        1.git%{shortcommit}%{?dist}
 Summary:        A small utility which generates Go code from any file
 License:        MIT
 URL:            http://%{import_path}
 Source0:        https://%{import_path}/archive/%{commit}/go-bindata-%{shortcommit}.tar.gz
 ExclusiveArch:  %{ix86} x86_64 %{arm}
-BuildRequires:  golang
+BuildRequires:  golang >= 1.3.3
 
 %description
 %{summary}
@@ -25,17 +24,19 @@ compressed before being converted to a raw byte slice.
 %setup -n go-bindata-%{commit}
 
 %build
-mkdir -p src/github.com/jteeuwen/
-ln -s $(pwd) src/github.com/jteeuwen/go-bindata
-export GOPATH=$(pwd)
-go build -v -a
+mkdir -p ./_build/src/github.com/jteeuwen/
+ln -s $(pwd) ./_build/src/github.com/jteeuwen/go-bindata
+export GOPATH=$(pwd)/_build:%{gopath}
+pushd ./go-bindata/
+go build .
+popd
 
 %install
 install -d -p %{buildroot}%{_bindir}
-install -m 755 go-bindata-%{commit} %{buildroot}%{_bindir}/go-bindata
+install -m 755 go-bindata/go-bindata %{buildroot}%{_bindir}/go-bindata
 
 %files
-%doc CONTRIBUTORS LICENSE README.md
+%doc LICENSE README.md
 %{_bindir}/go-bindata
 
 %changelog
diff --git a/sources b/sources
index 35ee3cc..2eea1d0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-98251d718dca2d64a1f93247f4020f3a  go-bindata-79847ab.tar.gz
+f36d2cded04964d8465d5c42e66e81e9  go-bindata-f94581b.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/go-bindata.git/commit/?h=f21&id=7c2401a391a078f82c568786d747ff43dfd18673


More information about the scm-commits mailing list