This commit is contained in:
parent
6651c9b405
commit
86d1e316c1
@ -37,9 +37,9 @@ This is the official command line client for Cloud Foundry.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n cli-%{version}
|
%setup -q -n cli-%{version}
|
||||||
|
cp %{SOURCE1} ./
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cp %{SOURCE1} ./
|
|
||||||
# show correct version instead of 0.0.0
|
# 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'
|
grep -rl "0.0.0-unknown-version" ./ | xargs sed -i 's/0.0.0-unknown-version/%{version}/g'
|
||||||
%goprep %{import_path}
|
%goprep %{import_path}
|
||||||
|
Loading…
Reference in New Issue
Block a user