diff --git a/cf-cli.changes b/cf-cli.changes index 7dbf090..25b03cb 100644 --- a/cf-cli.changes +++ b/cf-cli.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Oct 12 11:49:59 UTC 2017 - thardeck@suse.com + +- adapt setup process to new github release tarballs +- run go-bindata to create the in newer tarballs missing resource file + (borrowed from bin/generate-language-resources to work without internet) + ------------------------------------------------------------------- Fri Sep 15 23:40:32 UTC 2017 - thardeck@suse.com diff --git a/cf-cli.spec b/cf-cli.spec index dcbbeb3..d40f740 100644 --- a/cf-cli.spec +++ b/cf-cli.spec @@ -34,20 +34,23 @@ Source1: README BuildRequires: go >= 1.8.3 BuildRequires: golang-packaging BuildRequires: xz +BuildRequires: golang-github-jteeuwen-go-bindata BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%{go_nostrip} %{go_provides} %description This is the official command line client for Cloud Foundry. %prep -%setup -q -c -n %{name}-%{version} -mv */* ./ +%setup -q -n cli-%{version} cp %{SOURCE1} ./ %build # show correct version instead of 0.0.0 grep -rl "0.0.0-unknown-version" ./ | xargs sed -i 's/0.0.0-unknown-version/%{version}/g' +go-bindata -nometadata -pkg resources -ignore ".go" -o cf/resources/i18n_resources.go cf/i18n/resources/*.all.json %goprep %{import_path} %gobuild diff --git a/v6.31.0.tar.gz b/v6.31.0.tar.gz index 5202e5d..f5765ba 100644 --- a/v6.31.0.tar.gz +++ b/v6.31.0.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:833e05a6713a461b34e10fd613233b5ffb02e3eac6c7cd0e95fecf4c94af665e -size 11854148 +oid sha256:1c18acbd4f797957e849843e4b08b3f32cfb5bf76e743a7e7be161532807a71d +size 11060127