From e03e7a0395c86b0ec86c62b53b5f4d0ae265f98c Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Oct 16 2014 15:11:13 +0000 Subject: update to latest upstream commit Signed-off-by: Lokesh Mandvekar --- diff --git a/.gitignore b/.gitignore index 4c9c56f..e8e2334 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /go-dockerclient-d639515.tar.gz /go-dockerclient-0236a64.tar.gz +/go-dockerclient-15d2c6e.tar.gz diff --git a/golang-github-fsouza-go-dockerclient.spec b/golang-github-fsouza-go-dockerclient.spec index 080b604..db57849 100644 --- a/golang-github-fsouza-go-dockerclient.spec +++ b/golang-github-fsouza-go-dockerclient.spec @@ -1,15 +1,19 @@ %global debug_package %{nil} -%global import_path github.com/fsouza/go-dockerclient -%global commit 0236a64c6c4bd563ec277ba00e370cc753e1677c +%global provider_tld com +%global provider github +%global project fsouza +%global repo go-dockerclient +%global import_path %{provider}.%{provider_tld}/%{project}/%{repo} +%global commit 15d2c6e3eb670c545d0af0604d7f9aff3871af04 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -Name: golang-github-fsouza-go-dockerclient +Name: golang-%{provider}-%{project}-%{repo} Version: 0.2.1 -Release: 1.git%{shortcommit}%{?dist} +Release: 2.git%{shortcommit}%{?dist} Summary: Client for the Docker remote API License: BSD URL: https://%{import_path} -Source0: https://%{import_path}/archive/%{commit}/go-dockerclient-%{shortcommit}.tar.gz +Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz BuildArch: noarch %description @@ -28,10 +32,10 @@ Provides: golang(%{import_path}/utils) = %{version}-%{release} %{summary} This package contains library source intended for building other packages -which use fsouza/go-dockerclient. +which use %{project}/%{repo}. %prep -%setup -qn go-dockerclient-%{commit} +%setup -qn %{repo}-%{commit} %build @@ -41,11 +45,14 @@ cp -pav *.go %{buildroot}/%{gopath}/src/%{import_path} %files devel %doc AUTHORS DOCKER-LICENSE LICENSE README.markdown -%dir %{gopath}/src/github.com/fsouza +%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} %dir %{gopath}/src/%{import_path} %{gopath}/src/%{import_path}/*.go %changelog +* Thu Oct 16 2014 lsm5@riseup.net - 0.2.1-2.git15d2c6e +- update to latest upstream commit + * Mon Sep 29 2014 Lokesh Mandvekar - 0.2.1-1.git0236a64 - update to upstream commit 0236a64c6c4bd563ec277ba00e370cc753e1677c - don't own dirs owned by golang, don't redefine gopath diff --git a/sources b/sources index 15c2c3a..b83f553 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4a769207923cfb1dbb1bd48a42117841 go-dockerclient-0236a64.tar.gz +db7c85676149f1f855b9883605ce654f go-dockerclient-15d2c6e.tar.gz