commit 90f910347bb5d8d394cdb22c220778545bfd3ff7 Author: Jan Chaloupka jchaloup@redhat.com Date: Tue Oct 14 10:47:03 2014 +0200
Initial commit - resolves: #1151778
.gitignore | 1 + golang-github-elazarl-go-bindata-assetfs.spec | 56 +++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..5d6741f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/go-bindata-assetfs-ae4665c.tar.gz diff --git a/golang-github-elazarl-go-bindata-assetfs.spec b/golang-github-elazarl-go-bindata-assetfs.spec new file mode 100644 index 0000000..8da95b2 --- /dev/null +++ b/golang-github-elazarl-go-bindata-assetfs.spec @@ -0,0 +1,56 @@ +%global provider github +%global provider_tld com +%global project elazarl +%global repo go-bindata-assetfs +%global commit ae4665cf2d188c65764c73fe4af5378acc549510 + +%global import_path %{provider}.%{provider_tld}/%{project}/%{repo} +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global debug_package %{nil} + +Name: golang-%{provider}-%{project}-%{repo} +Version: 0 +Release: 0.1.git%{shortcommit}%{?dist} +Summary: Serve embedded files from jteeuwen/go-bindata +License: BSD +URL: http://%%7Bimport_path%7D +Source0: https://github.com/%%7Bproject%7D/%%7Brepo%7D/archive/%%7Bcommit%7D/%%7Brepo... +BuildArch: noarch + +%description +%{summary}. + +%package devel +BuildRequires: golang >= 1.2.1-3 +Requires: golang >= 1.2.1-3 +Summary: Serve embedded files from jteeuwen/go-bindata +Provides: golang(%{import_path}) = %{version}-%{release} + +%description devel +%{summary}. + +This package contains library source intended for +building other packages which use %{project}/%{repo}. + +%prep +%setup -q -n %{repo}-%{commit} + +%build + +%install +install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ +cp -pav *.go %{buildroot}/%{gopath}/src/%{import_path}/ + +%check +#no test files so far + +%files devel +%doc LICENSE README.md +%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} +%dir %{gopath}/src/%{import_path} +%{gopath}/src/%{import_path}/*.go + +%changelog +* Wed Oct 08 2014 Eric Paris <eparis@redhat.com - 0-0.1.gitae4665c +- Bump to upstream ae4665cf2d188c65764c73fe4af5378acc549510 + diff --git a/sources b/sources index e69de29..6180150 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4110980076a9236700b6e0dcd9de39c3 go-bindata-assetfs-ae4665c.tar.gz
golang@lists.fedoraproject.org