[golang-github-elazarl-go-bindata-assetfs/f21] Initial commit - resolves: #1151778

Jan Chaloupka jchaloup at fedoraproject.org
Tue Oct 14 09:00:03 UTC 2014


commit 7aead28b738ee83ad895ec3c37a83fe59c8f5e72
Author: Jan Chaloupka <jchaloup at 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://%{import_path}
+Source0:	https://github.com/%{project}/%{repo}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+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 at 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


More information about the scm-commits mailing list