[golang-github-onsi-gomega] Initial commit - resolves: #1148452

Jan Chaloupka jchaloup at fedoraproject.org
Wed Oct 8 10:39:31 UTC 2014


commit 8028a87a4c6a3b042043050483e098067cd2e04e
Author: Jan Chaloupka <jchaloup at redhat.com>
Date:   Wed Oct 8 12:38:51 2014 +0200

    Initial commit
    - resolves: #1148452

 .gitignore                     |    1 +
 golang-github-onsi-gomega.spec |   79 ++++++++++++++++++++++++++++++++++++++++
 sources                        |    1 +
 3 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f3270cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gomega-a0ee4df.tar.gz
diff --git a/golang-github-onsi-gomega.spec b/golang-github-onsi-gomega.spec
new file mode 100644
index 0000000..38d6a9c
--- /dev/null
+++ b/golang-github-onsi-gomega.spec
@@ -0,0 +1,79 @@
+%global provider	github
+%global provider_tld	com
+%global project		onsi
+%global repo		gomega
+%global commit		a0ee4df1f2d58a75dd9d74e755615706d68e9ce9
+
+%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:	Ginkgo's Preferred Matcher Library
+License:	MIT
+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
+Requires:	golang(github.com/onsi/gomega)
+Summary:	%{summary}
+Provides:	golang(%{import_path}) = %{version}-%{release}
+Provides:	golang(%{import_path}/format) = %{version}-%{release}
+Provides:	golang(%{import_path}/gbytes) = %{version}-%{release}
+Provides:	golang(%{import_path}/gexec) = %{version}-%{release}
+Provides:	golang(%{import_path}/gexec/_fixture/firefly) = %{version}-%{release}
+Provides:	golang(%{import_path}/ghttp) = %{version}-%{release}
+Provides:	golang(%{import_path}/internal/assertion) = %{version}-%{release}
+Provides:	golang(%{import_path}/internal/asyncassertion) = %{version}-%{release}
+Provides:	golang(%{import_path}/internal/fakematcher) = %{version}-%{release}
+Provides:	golang(%{import_path}/internal/testingtsupport) = %{version}-%{release}
+Provides:	golang(%{import_path}/matchers) = %{version}-%{release}
+Provides:	golang(%{import_path}/types) = %{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}/
+cp -pav {format,gbytes,gexec,ghttp,internal,matchers,types} %{buildroot}/%{gopath}/src/%{import_path}/
+
+%check
+#go test can not be done as there is a circular dependency between golang-github-onsi-ginkgo and golang-github-onsi-gomega package
+
+%files devel
+%doc README.md LICENSE CHANGELOG.md 
+%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
+%dir %{gopath}/src/%{import_path}/format
+%dir %{gopath}/src/%{import_path}/gbytes
+%dir %{gopath}/src/%{import_path}/gexec
+%dir %{gopath}/src/%{import_path}/ghttp
+%dir %{gopath}/src/%{import_path}/internal
+%dir %{gopath}/src/%{import_path}/matchers
+%dir %{gopath}/src/%{import_path}/types
+%{gopath}/src/%{import_path}/*.go
+%{gopath}/src/%{import_path}/*/*
+
+%changelog
+* Wed Oct 01 2014 root - 0-0.1.git90d6a47
+- First package for Fedora
+
+
+
+
diff --git a/sources b/sources
index e69de29..b7344de 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5cfc5a86dd82fb40f3d70fd8c08a4f7f  gomega-a0ee4df.tar.gz


More information about the scm-commits mailing list