From 348bfb6f201012c911a9888c151fe057a219befa5c7abb06711df03cfb2553a4 Mon Sep 17 00:00:00 2001 From: Alfred Jenkins Date: Thu, 6 Apr 2017 07:39:57 +0000 Subject: [PATCH] - adapt spec file to handle tarballs downloaded by concourse OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cf-cli?expand=0&rev=14 --- cf-cli.changes | 5 +++++ cf-cli.spec | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/cf-cli.changes b/cf-cli.changes index 6a56abe..74dcd4e 100644 --- a/cf-cli.changes +++ b/cf-cli.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 6 07:37:32 UTC 2017 - thardeck@suse.com + +- adapt spec file to handle tarballs downloaded by concourse + ------------------------------------------------------------------- Wed Mar 22 17:04:44 UTC 2017 - thardeck@suse.com diff --git a/cf-cli.spec b/cf-cli.spec index b07e480..6dded33 100644 --- a/cf-cli.spec +++ b/cf-cli.spec @@ -15,7 +15,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define import_path code.cloudfoundry.org/cli +%global provider code.cloudfoundry +%global provider_tld org +%global project "" +%global repo cli +%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} +%global import_path %{provider_prefix} Name: cf-cli Version: 6.25.0 @@ -36,7 +41,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build This is the official command line client for Cloud Foundry. %prep -%setup -q -n cli-%{version} +%setup -q -c -n %{name}-%{version} +mv */* ./ cp %{SOURCE1} ./ %build