Accepting request 648770 from home:okurz:branches:Cloud:Tools
Fix double if-layer for _test OBS-URL: https://build.opensuse.org/request/show/648770 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cf-cli?expand=0&rev=65
This commit is contained in:
parent
d8c9f651e7
commit
31837437f4
@ -82,6 +82,7 @@ grep -rl "0.0.0-unknown-version" ./ | xargs sed -i 's/0.0.0-unknown-version/%{ve
|
|||||||
%check
|
%check
|
||||||
echo 'Test if cf can be executed'
|
echo 'Test if cf can be executed'
|
||||||
../go/bin/cli --version
|
../go/bin/cli --version
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?_test}
|
%if 0%{?_test}
|
||||||
@ -94,11 +95,12 @@ cp ci/installers/completion/cf %{buildroot}/%{_sysconfdir}/bash_completion.d/cf.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%if 0%{?_test}
|
||||||
|
%else
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/cf
|
%{_bindir}/cf
|
||||||
%config %{_sysconfdir}/bash_completion.d/cf.sh
|
%config %{_sysconfdir}/bash_completion.d/cf.sh
|
||||||
%doc LICENSE NOTICE README
|
%doc LICENSE NOTICE README
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user