commit 72e75723e6458fb8121b087ab3e5f155ac81d82f
Author: Jan Chaloupka <[email protected]>
Date: Thu Oct 16 20:41:50 2014 +0200
Bump to b1e90a7943957b51bb96a13b44b844475bcf95c0
.gitignore | 1 +
golang-github-spf13-cobra.spec | 36 +++++++++++++++++++++++++++++-------
sources | 1 +
3 files changed, 31 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c91d9f5..63a3fe4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/cobra-e174a40.tar.gz
+/cobra-b1e90a7.tar.gz
diff --git a/golang-github-spf13-cobra.spec b/golang-github-spf13-cobra.spec
index 7b51dba..8aa5bb2 100644
--- a/golang-github-spf13-cobra.spec
+++ b/golang-github-spf13-cobra.spec
@@ -1,12 +1,12 @@
%global debug_package %{nil}
%global import_path github.com/spf13/cobra
%global gopath %{_datadir}/gocode
-%global commit e174a40cf5ac0768181065462ef36ec1ad07470c
+%global commit b1e90a7943957b51bb96a13b44b844475bcf95c0
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-github-spf13-cobra
Version: 0
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4.git%{shortcommit}%{?dist}
Summary: A Commander for modern go CLI interactions
License: ASL 2.0
URL: http://%{import_path}
@@ -18,27 +18,46 @@ ExclusiveArch: %{ix86} x86_64 %{arm}
%endif
%description
-%{summary}
+Cobra is a commander providing a simple interface to create powerful modern
+CLI interfaces similar to git & go tools.
+In addition to providing an interface, Cobra simultaneously provides
+a controller to organize your application code.
+
+Inspired by go, go-Commander, gh and subcommand, Cobra improves on these
+by providing fully posix compliant flags (including short & long versions),
+nesting commands, and the ability to define your own help and usage
+for any or all commands.
%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}
%description devel
-%{summary}
+Cobra is a commander providing a simple interface to create powerful modern
+CLI interfaces similar to git & go tools.
+In addition to providing an interface, Cobra simultaneously provides
+a controller to organize your application code.
+
+Inspired by go, go-Commander, gh and subcommand, Cobra improves on these
+by providing fully posix compliant flags (including short & long versions),
+nesting commands, and the ability to define your own help and usage
+for any or all commands.
This package contains library source intended for building other packages
which use spf13/cobra.
%prep
-%setup -n cobra-%{commit}
+%setup -q -n cobra-%{commit}
%build
%install
install -d -p %{buildroot}/%{gopath}/src/%{import_path}
-cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
+cp -pav *.go %{buildroot}/%{gopath}/src/%{import_path}
%check
@@ -52,6 +71,9 @@ cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
%{gopath}/src/%{import_path}/*.go
%changelog
+* Thu Oct 16 2014 jchaloup <[email protected]> - 0-0.4.gite174a40
+- Bump to b1e90a7943957b51bb96a13b44b844475bcf95c0
+
* Sat Jun 07 2014 Fedora Release Engineering <[email protected]>
- 0-0.3.gite174a40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index 7a66d13..3eea6fb 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
83834fcb94ea3befb5d9d6a5c40a50a3 cobra-e174a40.tar.gz
+0c6a10b55492423207dd12477c25043b cobra-b1e90a7.tar.gz
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang