[golang-github-codegangsta-cli] Bump to upstream b490b5e35d7e246da681819c9e6bf80758222b97 - related: #1114175

Jan Chaloupka jchaloup at fedoraproject.org
Thu Feb 19 21:46:22 UTC 2015


commit bcc04a717b209c6aa8f7b471dd36465e3d464525
Author: Jan Chaloupka <jchaloup at redhat.com>
Date:   Thu Feb 19 22:34:18 2015 +0100

    Bump to upstream b490b5e35d7e246da681819c9e6bf80758222b97
    - related: #1114175

 .gitignore                         |  5 +----
 golang-github-codegangsta-cli.spec | 24 ++++++++++++++++++------
 sources                            |  2 +-
 3 files changed, 20 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f18630e..1f555d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1 @@
-/1.0.0.tar.gz
-/cli-27ecc97.tar.gz
-/1.1.0.tar.gz
-/1.2.0.tar.gz
+/cli-b490b5e.tar.gz
diff --git a/golang-github-codegangsta-cli.spec b/golang-github-codegangsta-cli.spec
index a2bcee0..755f59d 100644
--- a/golang-github-codegangsta-cli.spec
+++ b/golang-github-codegangsta-cli.spec
@@ -1,16 +1,24 @@
 %global debug_package   %{nil}
-%global import_path     github.com/codegangsta/cli
-%global commit          565493f259bf868adb54d45d5f4c68d405117adf
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global provider        github
+%global provider_tld    com
+%global project         codegangsta
+%global repo            cli
+%global import_path     %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit          b490b5e35d7e246da681819c9e6bf80758222b97
+%global shortcommit     %(c=%{commit}; echo ${c:0:7})
 
 Name:           golang-github-codegangsta-cli
 Version:        1.2.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Package for building command line apps in Go
 License:        MIT
 URL:            https://%{import_path}
-Source0:        https://%{import_path}/archive/%{version}.tar.gz
+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
 cli.go is simple, fast, and fun package for building command line apps in Go.
@@ -33,7 +41,7 @@ This package contains library source intended for building other packages
 which use codegangsta/cli.
 
 %prep
-%setup -n cli-%{version}
+%setup -q -n %{repo}-%{commit}
 
 %build
 
@@ -51,6 +59,10 @@ GOPATH=%{gopath}:%{buildroot}/%{gopath} go test %{import_path}
 %{gopath}/src/%{import_path}/*.go
 
 %changelog
+* Thu Feb 19 2015 jchaloup <jchaloup at redhat.com> - 1.2.0-2
+- Bump to upstream b490b5e35d7e246da681819c9e6bf80758222b97
+  related: #1114175
+
 * Thu Aug 21 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 1.2.0-1
 - bump to v1.2.0
 
diff --git a/sources b/sources
index 0b1de4d..0c2e3d6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-918ea8f1dd96afc201f86f090e2cfaf8  1.2.0.tar.gz
+595fc1072df985a1b9e4af864eb8bd0d  cli-b490b5e.tar.gz


More information about the scm-commits mailing list