From 8b8e931fdbcf4ac49b8a4ada3332607310d964c2db734634e83b9f0001fa6d9f Mon Sep 17 00:00:00 2001
From: Tim Hardeck <thardeck@suse.com>
Date: Fri, 3 Mar 2017 15:14:24 +0000
Subject: [PATCH] - update to version 6.25.0 - adapt spec to go packaging
 changes - provide full url as source path

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cf-cli?expand=0&rev=7
---
 cf-cli.changes |  7 +++++++
 cf-cli.spec    | 13 ++-----------
 v6.24.0.tar.gz |  3 ---
 v6.25.0.tar.gz |  3 +++
 4 files changed, 12 insertions(+), 14 deletions(-)
 delete mode 100644 v6.24.0.tar.gz
 create mode 100644 v6.25.0.tar.gz

diff --git a/cf-cli.changes b/cf-cli.changes
index deaaeda..d1397fb 100644
--- a/cf-cli.changes
+++ b/cf-cli.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Fri Mar  3 15:12:42 UTC 2017 - thardeck@suse.com
+
+- update to version 6.25.0
+- adapt spec to go packaging changes
+- provide full url as source path
+
 -------------------------------------------------------------------
 Sat Feb 11 13:41:21 UTC 2017 - svollath@suse.de
 
diff --git a/cf-cli.spec b/cf-cli.spec
index ee16fb6..710f1ab 100644
--- a/cf-cli.spec
+++ b/cf-cli.spec
@@ -18,13 +18,13 @@
 %define import_path code.cloudfoundry.org/cli
 
 Name:           cf-cli
-Version:	6.24.0
+Version:	      6.25.0
 Release:        0
 License:        Apache-2.0
 Summary:        Cloud Foundry command line client
 Url:            https://github.com/cloudfoundry/cli
 Group:          System/Management
-Source0:        v%{version}.tar.gz
+Source:         https://github.com/cloudfoundry/cli/archive/v%{version}.tar.gz
 Source1:        README
 BuildRequires:  go >= 1.7.0
 BuildRequires:  golang-packaging
@@ -35,8 +35,6 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %description
 This is the official command line client for Cloud Foundry.
 
-%{gosrc_package}
-
 %prep
 %setup -q -n cli-%{version}
 
@@ -52,16 +50,9 @@ mkdir -p %{buildroot}/usr/bin
 cp ../go/bin/cli %{buildroot}/usr/bin/cf
 cp %{SOURCE1} ./
 
-%gosrc
-%go_filelist
-%go_filelist --source
-
 %files
 /usr/bin/cf
 %defattr(-,root,root,-)
 %doc CHANGELOG.md LICENSE NOTICE README
 
-%files source -f source.lst
-%defattr(-,root,root,-)
-
 %changelog
diff --git a/v6.24.0.tar.gz b/v6.24.0.tar.gz
deleted file mode 100644
index f473c6c..0000000
--- a/v6.24.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bb62e9bed4b95b0042426dab9fd40890de48ed04a9ff654193cf803d35422f75
-size 5632074
diff --git a/v6.25.0.tar.gz b/v6.25.0.tar.gz
new file mode 100644
index 0000000..3fcd1ab
--- /dev/null
+++ b/v6.25.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:77c81dd0e0af5e55569d262f6edd97050d377e776d663bcb55dd2dbc21809531
+size 5669226