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