commit 74f5666a20df35df173547abd5d7b1011c8fca04
Author: Jan Chaloupka <[email protected]>
Date:   Tue Sep 23 10:36:55 2014 +0200

    Initial commit

 .gitignore                       |    1 +
 golang-github-google-gofuzz.spec |   70 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 3 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d05c5a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gofuzz-aef70da.tar.gz
diff --git a/golang-github-google-gofuzz.spec b/golang-github-google-gofuzz.spec
new file mode 100644
index 0000000..1747bc4
--- /dev/null
+++ b/golang-github-google-gofuzz.spec
@@ -0,0 +1,70 @@
+%global provider       github
+%global provider_tld   com
+%global project                google
+%global        repo            gofuzz
+%global commit         aef70dacbc78771e35beb261bb3a72986adf7906
+
+%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.4.git%{shortcommit}%{?dist}
+Summary:       Library for populating go objects with random values
+License:       ASL 2.0
+URL:           https://%{import_path}
+Source0:       
https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+BuildArch:     noarch
+
+%description
+%{summary}
+
+%package devel
+Requires:      golang >= 1.2.1-3
+BuildRequires: golang >= 1.2.1-3
+Summary:       %{summary}
+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
+GOPATH=%{gopath}:%{buildroot}%{gopath} go test %{import_path}
+
+%files devel
+%defattr(-,root,root,-)
+%doc LICENSE README.md CONTRIBUTING.md
+%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
+%dir %{gopath}/src/%{import_path}
+%attr(644,-,-) %{gopath}/src/%{import_path}/*
+
+%changelog
+* Fri Sep 19 2014 Lokesh Mandvekar <[email protected]> - 0-0.4.gitaef70da
+- don't redefine gopath
+- don't own dirs owned by golang
+- preserve timestamps of copied files
+- use golang 1.2.1-3 or higher
+- quiet setup
+- add check
+
+* Tue Aug 12 2014 Eric Paris <[email protected]> - 0.3.gitaef70da
+- Move location and make a bit more generic
+
+* Tue Aug 12 2014 Adam Miller <[email protected]> - 0.2.gitaef70da
+- Fix License
+
+* Mon Aug 11 2014 Adam Miller <[email protected]> - 0.1.gitaef70da
+- First package for Fedora.
diff --git a/sources b/sources
index e69de29..ce4fd28 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+56171954cb698d17fa87580de684be1a  gofuzz-aef70da.tar.gz
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang

Reply via email to