[golang-launchpad-gocheck] Bug 1033796 - initial upload
Lokesh Mandvekar
lsm5 at fedoraproject.org
Fri Apr 11 19:59:04 UTC 2014
commit c1ac81cea7f4641c5bc1fb8d237143cf0eafcdb7
Author: Lokesh Mandvekar <lsm5 at redhat.com>
Date: Fri Apr 11 15:58:48 2014 -0400
Bug 1033796 - initial upload
.gitignore | 1 +
golang-launchpad-gocheck.spec | 55 +++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..06713f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gocheck-85.tar.gz
diff --git a/golang-launchpad-gocheck.spec b/golang-launchpad-gocheck.spec
new file mode 100644
index 0000000..3d1dd3e
--- /dev/null
+++ b/golang-launchpad-gocheck.spec
@@ -0,0 +1,55 @@
+%global debug_package %{nil}
+%global import_path launchpad.net/gocheck
+%global gopath %{_datadir}/gocode
+%global rev 85
+
+Name: golang-launchpad-gocheck
+Version: 0
+Release: 0.2.bzr%{rev}%{?dist}
+Summary: Rich testing framework for the Go language
+License: LGPL
+URL: http://labix.org/gocheck
+# launchpad.net does not have a revisioned archive download, that I can find
+Source0: http://vbatts.fedorapeople.org/rpmbuild/SOURCES/gocheck-%{rev}.tar.gz
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+BuildArch: noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm}
+%endif
+
+%description
+%{summary}
+
+%package devel
+Requires: golang
+Summary: Libraries of Rich testing framework for the Go language
+Provides: golang(%{import_path}) = %{version}-%{release}
+
+%description devel
+%{summary}
+
+This package contains library source intended for building other packages
+which use this library.
+
+%prep
+%setup -n gocheck-%{rev}
+
+%build
+
+%install
+install -d %{buildroot}/%{gopath}/src/%{import_path}
+cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}/
+
+%files devel
+%defattr(-,root,root,-)
+%doc LICENSE
+%dir %attr(755,root,root) %{gopath}/src/%{import_path}
+%{gopath}/src/%{import_path}/*.go
+
+%changelog
+* Fri Apr 11 2014 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.2.bzr85
+- arch definitions in main package
+- requires in devel subpackage
+
+* Fri Nov 22 2013 Vincent Batts <vbatts at redhat.com> 0-0.1.bzr85
+- initial build
diff --git a/sources b/sources
index e69de29..414b93f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6b46637eae9ceeac5d0f2766fbf63dd2 gocheck-85.tar.gz
More information about the scm-commits
mailing list