commit 7b370abe1b869f80c77606d313b87b5fcc18abc3
Author: Jan Chaloupka <[email protected]>
Date:   Thu Oct 16 20:36:45 2014 +0200

    Bump to 463bdc838f2b35e9307e91d480878bda5fff7232

 .gitignore                     |    2 +-
 golang-github-spf13-pflag.spec |   34 ++++++++++++++++++++++++++++------
 sources                        |    2 +-
 3 files changed, 30 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3a07bcc..c20a324 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/pflag-94e98a5.tar.gz
+/pflag-463bdc8.tar.gz
diff --git a/golang-github-spf13-pflag.spec b/golang-github-spf13-pflag.spec
index 9a634ba..1844677 100644
--- a/golang-github-spf13-pflag.spec
+++ b/golang-github-spf13-pflag.spec
@@ -1,12 +1,12 @@
 %global debug_package   %{nil}
 %global import_path     github.com/spf13/pflag
 %global gopath          %{_datadir}/gocode
-%global commit          94e98a55fb412fcbcfc302555cb990f5e1590627
+%global commit          463bdc838f2b35e9307e91d480878bda5fff7232
 %global shortcommit     %(c=%{commit}; echo ${c:0:7})
 
 Name:           golang-github-spf13-pflag
 Version:        0
-Release:        0.2.git%{shortcommit}%{?dist}
+Release:        0.3.git%{shortcommit}%{?dist}
 Summary:        Replacement for Go's flag package
 License:        ASL 2.0
 URL:            http://%{import_path}
@@ -18,7 +18,15 @@ ExclusiveArch:  %{ix86} x86_64 %{arm}
 %endif
 
 %description
-%{summary}
+pflag is a drop-in replacement for Go's flag package,
+implementing POSIX/GNU-style --flags.
+
+pflag is compatible with the GNU extensions to the POSIX recommendations
+for command-line options. For a more precise description,
+see the "Command-line flag syntax" section below.
+
+pflag is available under the same style of BSD license as the Go language,
+which can be found in the LICENSE file.
 
 %package devel
 Requires:       golang
@@ -26,21 +34,32 @@ Summary:        Replacement for Go's flag package
 Provides:       golang(%{import_path}) = %{version}-%{release}
 
 %description devel
-%{summary}
+pflag is a drop-in replacement for Go's flag package,
+implementing POSIX/GNU-style --flags.
+
+pflag is compatible with the GNU extensions to the POSIX recommendations
+for command-line options. For a more precise description,
+see the "Command-line flag syntax" section below.
+
+pflag is available under the same style of BSD license as the Go language,
+which can be found in the LICENSE file.
 
 This package contains library source intended for building other packages
 which use spf13/pflag.
 
 %prep
-%setup -n pflag-%{commit}
+%setup -q -n pflag-%{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
+# the test (using github.com/ogier/pflag or patching the deps to spf13/pflag
+# still fails, no test -> no deps on ogier so far
+#GOPATH={buildroot}/{gopath}:{gopath} go test {import_path}
 
 %files devel
 %doc LICENSE README.md
@@ -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.3.git463bdc8
+- Bump to 463bdc838f2b35e9307e91d480878bda5fff7232
+
 * Sat Jun 07 2014 Fedora Release Engineering <[email protected]> 
- 0-0.2.git94e98a5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index fa98326..ce050cf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-27c9873b739a5fd205ff91cb1f6de25e  pflag-94e98a5.tar.gz
+6e5ccd3b49bbb023f7fd6629de7c8db7  pflag-463bdc8.tar.gz
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang

Reply via email to