[golang-github-coreos-go-log] Initial upload (#1018523)

Lokesh Mandvekar lsm5 at fedoraproject.org
Sun Oct 20 05:40:48 UTC 2013


commit d1729d837e59f90cf0db7883377b6a031295e7b9
Author: Lokesh Mandvekar <lsm5 at redhat.com>
Date:   Sun Oct 20 00:40:21 2013 -0500

    Initial upload (#1018523)
    
    Signed-off-by: Lokesh Mandvekar <lsm5 at redhat.com>

 .gitignore                       |    1 +
 golang-github-coreos-go-log.spec |   70 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 3 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..277b3bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/go-log-840af6b.tar.gz
diff --git a/golang-github-coreos-go-log.spec b/golang-github-coreos-go-log.spec
new file mode 100644
index 0000000..d4061a9
--- /dev/null
+++ b/golang-github-coreos-go-log.spec
@@ -0,0 +1,70 @@
+%global debug_package   %{nil}
+%global import_path     github.com/coreos/go-log
+%global gopath          %{_datadir}/gocode
+%global commit          840af6b63e623201384b2f20a8e7d3f2dcfef063
+%global shortcommit     %(c=%{commit}; echo ${c:0:7})
+
+Name:           golang-github-coreos-go-log
+Version:        0
+Release:        0.5.git%{shortcommit}%{?dist}
+Summary:        A golang library for logging to systemd
+License:        ASL 2.0
+URL:            http://%{import_path}
+Source0:        https://%{import_path}/archive/%{commit}/go-log-%{shortcommit}.tar.gz
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+BuildArch:      noarch
+%else
+ExclusiveArch:  %{ix86} x86_64 %{arm}
+%endif
+
+%description
+%{summary}
+
+%package devel
+Requires:       golang
+Requires:       golang(bitbucket.org/kardianos/osext)
+Requires:       golang(github.com/coreos/go-systemd)
+Summary:        A golang library for logging to systemd
+Provides:       golang(%{import_path}/log) = %{version}-%{release}
+
+%description devel
+%{summary}
+
+This package contains library source intended for building other packages
+which use coreos/go-log.
+
+%prep
+%setup -n go-log-%{commit}
+
+%build
+
+%install
+install -d -p %{buildroot}/%{gopath}/src/%{import_path}/log
+cp -av log/*.go %{buildroot}/%{gopath}/src/%{import_path}/log
+
+%files devel
+%doc LICENSE README.md
+%dir %attr(755,root,root) %{gopath}
+%dir %attr(755,root,root) %{gopath}/src
+%dir %attr(755,root,root) %{gopath}/src/github.com
+%dir %attr(755,root,root) %{gopath}/src/github.com/coreos
+%dir %attr(755,root,root) %{gopath}/src/%{import_path}
+%dir %attr(755,root,root) %{gopath}/src/%{import_path}/log
+%{gopath}/src/%{import_path}/log/*.go
+
+%changelog
+* Fri Oct 18 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.5.git840af6b
+- removed double quotes from provides and requires
+
+* Mon Oct 14 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.4.git840af6b
+- defattr removed
+
+* Mon Oct 14 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.3.git840af6b
+- Requires kardianos/osext and coreos/go-systemd
+
+* Sat Oct 12 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.2.git840af6b
+- URL corrected
+- License corrected
+
+* Sat Oct 12 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.1.git840af6b
+- Initial fedora package
diff --git a/sources b/sources
index e69de29..a5e8566 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2dc72baf15853f8349b62ece2e9e8451  go-log-840af6b.tar.gz


More information about the scm-commits mailing list