[golang-github-rackspace-gophercloud/f21] Bump to upstream 75c3fecab50deff8ff90bce2147a9d3140c5a13f - related: #1153733
by Jan Chaloupka
commit 84e47ff1cadb3d60f1a3aa79071858e43e513ca4
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 25 23:17:17 2015 +0100
Bump to upstream 75c3fecab50deff8ff90bce2147a9d3140c5a13f
- related: #1153733
.gitignore | 2 +-
golang-github-rackspace-gophercloud.spec | 12 ++++++++----
sources | 2 +-
3 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 16a1ad3..39d110b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/gophercloud-1.0.0.tar.gz
+/gophercloud-75c3fec.tar.gz
diff --git a/golang-github-rackspace-gophercloud.spec b/golang-github-rackspace-gophercloud.spec
index 49ad8dd..5cd4401 100644
--- a/golang-github-rackspace-gophercloud.spec
+++ b/golang-github-rackspace-gophercloud.spec
@@ -4,16 +4,16 @@
%global project rackspace
%global repo gophercloud
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
-%global commit da56de6a59e53fdd61be1b5d9b87df34c47ac420
+%global commit 75c3fecab50deff8ff90bce2147a9d3140c5a13f
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-%{provider}-%{project}-%{repo}
Version: 1.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The Go SDK for Openstack http://gophercloud.io
License: ASL 2.0
URL: https://%{import_path}
-Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{version}.tar.gz
+Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
BuildArch: noarch
%else
@@ -130,7 +130,7 @@ This package contains library source intended for
building other packages which use %{project}/%{repo}.
%prep
-%setup -q -n %{repo}-%{version}
+%setup -q -n %{repo}-%{commit}
%build
@@ -190,6 +190,10 @@ cp -pav {acceptance,openstack,pagination,rackspace,script,testhelper} %{buildroo
%{gopath}/src/%{import_path}/
%changelog
+* Wed Feb 25 2015 jchaloup <jchaloup(a)redhat.com> - 1.0.0-2
+- Bump to upstream 75c3fecab50deff8ff90bce2147a9d3140c5a13f
+ related: #1153733
+
* Fri Jan 02 2015 jchaloup <jchaloup(a)redhat.com> - 1.0.0-1
- update to 1.0.0
related: #1153733
diff --git a/sources b/sources
index ca32a1c..0873b93 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e3acedc462340eac8b105e1256d8cf06 gophercloud-1.0.0.tar.gz
+25cb180eaea1f70a620299ade6903390 gophercloud-75c3fec.tar.gz
9 years, 3 months
[golang-github-rackspace-gophercloud/f20] Bump to upstream 75c3fecab50deff8ff90bce2147a9d3140c5a13f - related: #1153733
by Jan Chaloupka
commit d9a596c72916f92569acdd093a161a07e88fd33c
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 25 23:17:17 2015 +0100
Bump to upstream 75c3fecab50deff8ff90bce2147a9d3140c5a13f
- related: #1153733
.gitignore | 2 +-
golang-github-rackspace-gophercloud.spec | 12 ++++++++----
sources | 2 +-
3 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 16a1ad3..39d110b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/gophercloud-1.0.0.tar.gz
+/gophercloud-75c3fec.tar.gz
diff --git a/golang-github-rackspace-gophercloud.spec b/golang-github-rackspace-gophercloud.spec
index 49ad8dd..5cd4401 100644
--- a/golang-github-rackspace-gophercloud.spec
+++ b/golang-github-rackspace-gophercloud.spec
@@ -4,16 +4,16 @@
%global project rackspace
%global repo gophercloud
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
-%global commit da56de6a59e53fdd61be1b5d9b87df34c47ac420
+%global commit 75c3fecab50deff8ff90bce2147a9d3140c5a13f
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-%{provider}-%{project}-%{repo}
Version: 1.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The Go SDK for Openstack http://gophercloud.io
License: ASL 2.0
URL: https://%{import_path}
-Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{version}.tar.gz
+Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
BuildArch: noarch
%else
@@ -130,7 +130,7 @@ This package contains library source intended for
building other packages which use %{project}/%{repo}.
%prep
-%setup -q -n %{repo}-%{version}
+%setup -q -n %{repo}-%{commit}
%build
@@ -190,6 +190,10 @@ cp -pav {acceptance,openstack,pagination,rackspace,script,testhelper} %{buildroo
%{gopath}/src/%{import_path}/
%changelog
+* Wed Feb 25 2015 jchaloup <jchaloup(a)redhat.com> - 1.0.0-2
+- Bump to upstream 75c3fecab50deff8ff90bce2147a9d3140c5a13f
+ related: #1153733
+
* Fri Jan 02 2015 jchaloup <jchaloup(a)redhat.com> - 1.0.0-1
- update to 1.0.0
related: #1153733
diff --git a/sources b/sources
index ca32a1c..0873b93 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e3acedc462340eac8b105e1256d8cf06 gophercloud-1.0.0.tar.gz
+25cb180eaea1f70a620299ade6903390 gophercloud-75c3fec.tar.gz
9 years, 3 months
[golang-github-racker-perigee/el6] Initial commit - resolves: #1153726
by Jan Chaloupka
commit 05059ec859c3010b1199adf94e7d3365531f04e9
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Oct 16 22:49:15 2014 +0200
Initial commit
- resolves: #1153726
.gitignore | 1 +
golang-github-racker-perigee.spec | 82 +++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 84 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..19718bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/perigee-0c00cb0.tar.gz
diff --git a/golang-github-racker-perigee.spec b/golang-github-racker-perigee.spec
new file mode 100644
index 0000000..4e29a6f
--- /dev/null
+++ b/golang-github-racker-perigee.spec
@@ -0,0 +1,82 @@
+%global debug_package %{nil}
+%global provider github
+%global provider_tld com
+%global project racker
+%global repo perigee
+%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit 0c00cb0a026b71034ebc8205263c77dad3577db5
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name: golang-%{provider}-%{project}-%{repo}
+Version: 0
+Release: 0.1.git%{shortcommit}%{?dist}
+Summary: REST client optimized for use with APIs for request and response bodies
+License: ASL 2.0
+URL: https://%{import_path}
+Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+BuildArch: noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm}
+%endif
+
+%description
+Perigee provides a REST client that, while it should be generic enough
+to use with most any RESTful API, is nonetheless optimized to the needs
+of the OpenStack APIs. Perigee grew out of the need to refactor out
+common API access code from the gorax project.
+
+Several things influenced the name of the project. Numerous elements
+of the OpenStack ecosystem are named after astronomical artifacts.
+Additionally, perigee occurs when two orbiting bodies are closest
+to each other. Perigee seemed appropriate for something aiming to bring
+OpenStack and other RESTful services closer to the end-user.
+
+This library is still in the very early stages of development.
+
+%package devel
+BuildRequires: golang >= 1.2.1-3
+Requires: golang >= 1.2.1-3
+Summary: %{summary}
+Provides: golang(%{import_path}) = %{version}-%{release}
+
+%description devel
+Perigee provides a REST client that, while it should be generic enough
+to use with most any RESTful API, is nonetheless optimized to the needs
+of the OpenStack APIs. Perigee grew out of the need to refactor out
+common API access code from the gorax project.
+
+Several things influenced the name of the project. Numerous elements
+of the OpenStack ecosystem are named after astronomical artifacts.
+Additionally, perigee occurs when two orbiting bodies are closest
+to each other. Perigee seemed appropriate for something aiming to bring
+OpenStack and other RESTful services closer to the end-user.
+
+This library is still in the very early stages of development.
+
+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=%{buildroot}/%{gopath}:%{gopath} go test %{import_path}
+
+%files devel
+%doc README.md LICENSE
+%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
+%dir %{gopath}/src/%{import_path}/
+%{gopath}/src/%{import_path}/*.go
+
+%changelog
+* Thu Oct 16 2014 jchaloup <jchaloup(a)redhat.com> - 0-0.1.git0c00cb0
+- First package for Fedora
+ resolves: #1153726
+
diff --git a/sources b/sources
index e69de29..ced00dd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9ee8ddd6fbc67a47b6db85ba961bdda7 perigee-0c00cb0.tar.gz
9 years, 3 months
[golang-github-spf13-cobra/el6] Bump to upstream f8e1ec56bdd7494d309c69681267859a6bfb7549 - related: #1085881
by Jan Chaloupka
commit 52c5bb3f7e8f209874d3adf97647b8cef397bb98
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 25 22:53:17 2015 +0100
Bump to upstream f8e1ec56bdd7494d309c69681267859a6bfb7549
- related: #1085881
.gitignore | 2 +-
golang-github-spf13-cobra.spec | 35 +++++++++++++++++++++--------------
sources | 2 +-
3 files changed, 23 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0c61ac9..204e212 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/cobra-e1e66f7.tar.gz
+/cobra-f8e1ec5.tar.gz
diff --git a/golang-github-spf13-cobra.spec b/golang-github-spf13-cobra.spec
index 68c7386..37999a9 100644
--- a/golang-github-spf13-cobra.spec
+++ b/golang-github-spf13-cobra.spec
@@ -1,16 +1,19 @@
%global debug_package %{nil}
-%global import_path github.com/spf13/cobra
-%global gopath %{_datadir}/gocode
-%global commit e1e66f7b4e667751cf530ddb6e72b79d6eeb0235
+%global provider github
+%global provider_tld com
+%global project spf13
+%global repo cobra
+%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit f8e1ec56bdd7494d309c69681267859a6bfb7549
%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-github-spf13-cobra
+Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.git%{shortcommit}%{?dist}
Summary: A Commander for modern go CLI interactions
License: ASL 2.0
URL: http://%{import_path}
-Source0: https://%{import_path}/archive/%{commit}/cobra-%{shortcommit}.tar.gz
+Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
BuildArch: noarch
%else
@@ -21,7 +24,10 @@ ExclusiveArch: %{ix86} x86_64 %{arm}
%{summary}
%package devel
-Requires: golang
+BuildRequires: golang >= 1.2.1-3
+BuildRequires: golang(github.com/spf13/pflag)
+Requires: golang >= 1.2.1-3
+Requires: golang(github.com/spf13/pflag)
Summary: A Commander for modern go CLI interactions
Provides: golang(%{import_path}) = %{version}-%{release}
@@ -32,7 +38,7 @@ This package contains library source intended for building other packages
which use spf13/cobra.
%prep
-%setup -n cobra-%{commit}
+%setup -q -n %{repo}-%{commit}
%build
@@ -41,17 +47,18 @@ install -d -p %{buildroot}/%{gopath}/src/%{import_path}
cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
%check
+GOPATH=%{buildroot}/%{gopath}:%{gopath} go test %{import_path}
%files devel
%doc LICENSE.txt 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/spf13
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}
-%{gopath}/src/%{import_path}/*.go
+%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
+%{gopath}/src/%{import_path}
%changelog
+* Wed Feb 25 2015 jchaloup <jchaloup(a)redhat.com> - 0-0.6.gitf8e1ec5
+- Bump to upstream f8e1ec56bdd7494d309c69681267859a6bfb7549
+ related: #1085881
+
* Wed Dec 24 2014 jchaloup <jchaloup(a)redhat.com> - 0-0.5.gitb1e90a7
- Bump to e1e66f7b4e667751cf530ddb6e72b79d6eeb0235
related: #1085881
diff --git a/sources b/sources
index 24da223..6e57176 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-88fbbc47c9c7b95ea9f60d57c969b5b6 cobra-e1e66f7.tar.gz
+2095d7a6a83849ac9e09463e915a106c cobra-f8e1ec5.tar.gz
9 years, 3 months
[golang-github-spf13-cobra] Bump to upstream f8e1ec56bdd7494d309c69681267859a6bfb7549 - related: #1085881
by Jan Chaloupka
commit 352228db88fdf2148b52ad2deab46a0d6abaa766
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 25 22:53:17 2015 +0100
Bump to upstream f8e1ec56bdd7494d309c69681267859a6bfb7549
- related: #1085881
.gitignore | 4 +---
golang-github-spf13-cobra.spec | 30 +++++++++++++++++-------------
sources | 4 +---
3 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 10ac8c5..204e212 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-/cobra-e174a40.tar.gz
-/cobra-b1e90a7.tar.gz
-/cobra-e1e66f7.tar.gz
+/cobra-f8e1ec5.tar.gz
diff --git a/golang-github-spf13-cobra.spec b/golang-github-spf13-cobra.spec
index 1fd3cd0..263aa2b 100644
--- a/golang-github-spf13-cobra.spec
+++ b/golang-github-spf13-cobra.spec
@@ -1,16 +1,19 @@
%global debug_package %{nil}
-%global import_path github.com/spf13/cobra
-%global gopath %{_datadir}/gocode
-%global commit e1e66f7b4e667751cf530ddb6e72b79d6eeb0235
+%global provider github
+%global provider_tld com
+%global project spf13
+%global repo cobra
+%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit f8e1ec56bdd7494d309c69681267859a6bfb7549
%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-github-spf13-cobra
+Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.git%{shortcommit}%{?dist}
Summary: A Commander for modern go CLI interactions
License: ASL 2.0
URL: http://%{import_path}
-Source0: https://%{import_path}/archive/%{commit}/cobra-%{shortcommit}.tar.gz
+Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
BuildArch: noarch
%else
@@ -51,7 +54,7 @@ This package contains library source intended for building other packages
which use spf13/cobra.
%prep
-%setup -q -n cobra-%{commit}
+%setup -q -n %{repo}-%{commit}
%build
@@ -60,17 +63,18 @@ install -d -p %{buildroot}/%{gopath}/src/%{import_path}
cp -pav *.go %{buildroot}/%{gopath}/src/%{import_path}
%check
+GOPATH=%{buildroot}/%{gopath}:%{gopath} go test %{import_path}
%files devel
%doc LICENSE.txt 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/spf13
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}
-%{gopath}/src/%{import_path}/*.go
+%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
+%{gopath}/src/%{import_path}
%changelog
+* Wed Feb 25 2015 jchaloup <jchaloup(a)redhat.com> - 0-0.6.gitf8e1ec5
+- Bump to upstream f8e1ec56bdd7494d309c69681267859a6bfb7549
+ related: #1085881
+
* Wed Dec 24 2014 jchaloup <jchaloup(a)redhat.com> - 0-0.5.gitb1e90a7
- Bump to e1e66f7b4e667751cf530ddb6e72b79d6eeb0235
related: #1085881
diff --git a/sources b/sources
index 38f4356..6e57176 100644
--- a/sources
+++ b/sources
@@ -1,3 +1 @@
-83834fcb94ea3befb5d9d6a5c40a50a3 cobra-e174a40.tar.gz
-0c6a10b55492423207dd12477c25043b cobra-b1e90a7.tar.gz
-88fbbc47c9c7b95ea9f60d57c969b5b6 cobra-e1e66f7.tar.gz
+2095d7a6a83849ac9e09463e915a106c cobra-f8e1ec5.tar.gz
9 years, 3 months
[golang-github-spf13-cobra/f22] Bump to upstream f8e1ec56bdd7494d309c69681267859a6bfb7549 - related: #1085881
by Jan Chaloupka
commit 35a3f5f39e72cb90ee0a941150dd20e5a48deec0
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 25 22:53:17 2015 +0100
Bump to upstream f8e1ec56bdd7494d309c69681267859a6bfb7549
- related: #1085881
.gitignore | 4 +---
golang-github-spf13-cobra.spec | 30 +++++++++++++++++-------------
sources | 4 +---
3 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 10ac8c5..204e212 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-/cobra-e174a40.tar.gz
-/cobra-b1e90a7.tar.gz
-/cobra-e1e66f7.tar.gz
+/cobra-f8e1ec5.tar.gz
diff --git a/golang-github-spf13-cobra.spec b/golang-github-spf13-cobra.spec
index 1fd3cd0..263aa2b 100644
--- a/golang-github-spf13-cobra.spec
+++ b/golang-github-spf13-cobra.spec
@@ -1,16 +1,19 @@
%global debug_package %{nil}
-%global import_path github.com/spf13/cobra
-%global gopath %{_datadir}/gocode
-%global commit e1e66f7b4e667751cf530ddb6e72b79d6eeb0235
+%global provider github
+%global provider_tld com
+%global project spf13
+%global repo cobra
+%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit f8e1ec56bdd7494d309c69681267859a6bfb7549
%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-github-spf13-cobra
+Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.git%{shortcommit}%{?dist}
Summary: A Commander for modern go CLI interactions
License: ASL 2.0
URL: http://%{import_path}
-Source0: https://%{import_path}/archive/%{commit}/cobra-%{shortcommit}.tar.gz
+Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
BuildArch: noarch
%else
@@ -51,7 +54,7 @@ This package contains library source intended for building other packages
which use spf13/cobra.
%prep
-%setup -q -n cobra-%{commit}
+%setup -q -n %{repo}-%{commit}
%build
@@ -60,17 +63,18 @@ install -d -p %{buildroot}/%{gopath}/src/%{import_path}
cp -pav *.go %{buildroot}/%{gopath}/src/%{import_path}
%check
+GOPATH=%{buildroot}/%{gopath}:%{gopath} go test %{import_path}
%files devel
%doc LICENSE.txt 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/spf13
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}
-%{gopath}/src/%{import_path}/*.go
+%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
+%{gopath}/src/%{import_path}
%changelog
+* Wed Feb 25 2015 jchaloup <jchaloup(a)redhat.com> - 0-0.6.gitf8e1ec5
+- Bump to upstream f8e1ec56bdd7494d309c69681267859a6bfb7549
+ related: #1085881
+
* Wed Dec 24 2014 jchaloup <jchaloup(a)redhat.com> - 0-0.5.gitb1e90a7
- Bump to e1e66f7b4e667751cf530ddb6e72b79d6eeb0235
related: #1085881
diff --git a/sources b/sources
index 38f4356..6e57176 100644
--- a/sources
+++ b/sources
@@ -1,3 +1 @@
-83834fcb94ea3befb5d9d6a5c40a50a3 cobra-e174a40.tar.gz
-0c6a10b55492423207dd12477c25043b cobra-b1e90a7.tar.gz
-88fbbc47c9c7b95ea9f60d57c969b5b6 cobra-e1e66f7.tar.gz
+2095d7a6a83849ac9e09463e915a106c cobra-f8e1ec5.tar.gz
9 years, 3 months
[golang-github-spf13-cobra/f21] Bump to upstream f8e1ec56bdd7494d309c69681267859a6bfb7549 - related: #1085881
by Jan Chaloupka
commit 8c31a8511bcbd1dc9d3a90176fbb0467dcf968e5
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 25 22:53:17 2015 +0100
Bump to upstream f8e1ec56bdd7494d309c69681267859a6bfb7549
- related: #1085881
.gitignore | 4 +---
golang-github-spf13-cobra.spec | 30 +++++++++++++++++-------------
sources | 4 +---
3 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 10ac8c5..204e212 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-/cobra-e174a40.tar.gz
-/cobra-b1e90a7.tar.gz
-/cobra-e1e66f7.tar.gz
+/cobra-f8e1ec5.tar.gz
diff --git a/golang-github-spf13-cobra.spec b/golang-github-spf13-cobra.spec
index 1fd3cd0..263aa2b 100644
--- a/golang-github-spf13-cobra.spec
+++ b/golang-github-spf13-cobra.spec
@@ -1,16 +1,19 @@
%global debug_package %{nil}
-%global import_path github.com/spf13/cobra
-%global gopath %{_datadir}/gocode
-%global commit e1e66f7b4e667751cf530ddb6e72b79d6eeb0235
+%global provider github
+%global provider_tld com
+%global project spf13
+%global repo cobra
+%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit f8e1ec56bdd7494d309c69681267859a6bfb7549
%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-github-spf13-cobra
+Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.git%{shortcommit}%{?dist}
Summary: A Commander for modern go CLI interactions
License: ASL 2.0
URL: http://%{import_path}
-Source0: https://%{import_path}/archive/%{commit}/cobra-%{shortcommit}.tar.gz
+Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
BuildArch: noarch
%else
@@ -51,7 +54,7 @@ This package contains library source intended for building other packages
which use spf13/cobra.
%prep
-%setup -q -n cobra-%{commit}
+%setup -q -n %{repo}-%{commit}
%build
@@ -60,17 +63,18 @@ install -d -p %{buildroot}/%{gopath}/src/%{import_path}
cp -pav *.go %{buildroot}/%{gopath}/src/%{import_path}
%check
+GOPATH=%{buildroot}/%{gopath}:%{gopath} go test %{import_path}
%files devel
%doc LICENSE.txt 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/spf13
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}
-%{gopath}/src/%{import_path}/*.go
+%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
+%{gopath}/src/%{import_path}
%changelog
+* Wed Feb 25 2015 jchaloup <jchaloup(a)redhat.com> - 0-0.6.gitf8e1ec5
+- Bump to upstream f8e1ec56bdd7494d309c69681267859a6bfb7549
+ related: #1085881
+
* Wed Dec 24 2014 jchaloup <jchaloup(a)redhat.com> - 0-0.5.gitb1e90a7
- Bump to e1e66f7b4e667751cf530ddb6e72b79d6eeb0235
related: #1085881
diff --git a/sources b/sources
index 38f4356..6e57176 100644
--- a/sources
+++ b/sources
@@ -1,3 +1 @@
-83834fcb94ea3befb5d9d6a5c40a50a3 cobra-e174a40.tar.gz
-0c6a10b55492423207dd12477c25043b cobra-b1e90a7.tar.gz
-88fbbc47c9c7b95ea9f60d57c969b5b6 cobra-e1e66f7.tar.gz
+2095d7a6a83849ac9e09463e915a106c cobra-f8e1ec5.tar.gz
9 years, 3 months