- revert some spec changes to fix Tumbleweed building

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cf-cli?expand=0&rev=12
This commit is contained in:
Tim Hardeck 2017-03-22 17:05:23 +00:00 committed by Git OBS Bridge
parent 8e4c8e0041
commit d9f8443611
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 22 17:04:44 UTC 2017 - thardeck@suse.com
- revert some spec changes to fix Tumbleweed building
-------------------------------------------------------------------
Tue Mar 21 15:23:14 UTC 2017 - thardeck@suse.com

View File

@ -46,10 +46,10 @@ grep -rl "0.0.0-unknown-version" ./ | xargs sed -i 's/0.0.0-unknown-version/%{ve
%gobuild
%install
%goinstall
install -m 755 -d %{buildroot}/%{_bindir}
cp ../go/bin/cli %{buildroot}/%{_bindir}/cf
install -m 755 -d %{buildroot}/%{_sysconfdir}/bash_completion.d
cp ci/installers/completion/cf %{buildroot}/%{_sysconfdir}/bash_completion.d/cf.sh
mv %{buildroot}/%{_bindir}/cli %{buildroot}/%{_bindir}/cf
%files
%defattr(-,root,root,-)