Accepting request 264150 from home:seife:branches:openSUSE:Factory
- fix bash completion (complete is not propagated into subshells, but PROFILEREAD is, so the setup script is never executed) OBS-URL: https://build.opensuse.org/request/show/264150 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=188
This commit is contained in:
parent
78d2d7035e
commit
2fafbfbb6d
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 5 13:17:15 UTC 2014 - seife+obs@b1-systems.com
|
||||
|
||||
- fix bash completion (complete is not propagated into subshells,
|
||||
but PROFILEREAD is, so the setup script is never executed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 14 12:46:34 UTC 2014 - suse-tux@gmx.de
|
||||
|
||||
|
8
osc.spec
8
osc.spec
@ -104,7 +104,11 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
ln -s osc-wrapper.py %{buildroot}/%{_bindir}/osc
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/osc-plugins
|
||||
install -Dm0644 dist/complete.csh %{buildroot}%{_sysconfdir}/profile.d/osc.csh
|
||||
%if 0%{?suse_version}
|
||||
install -Dm0644 dist/complete.sh %{buildroot}%{_sysconfdir}/bash_completion.d/osc.sh
|
||||
%else
|
||||
install -Dm0644 dist/complete.sh %{buildroot}%{_sysconfdir}/profile.d/osc.sh
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1110
|
||||
install -Dm0755 dist/osc.complete %{buildroot}%{_prefix}/lib/osc/complete
|
||||
%else
|
||||
@ -120,7 +124,11 @@ rm -rf %{buildroot}
|
||||
%{_bindir}/osc*
|
||||
%{python_sitelib}/*
|
||||
%config %{_sysconfdir}/profile.d/osc.csh
|
||||
%if 0%{?suse_version}
|
||||
%config %{_sysconfdir}/bash_completion.d/osc.sh
|
||||
%else
|
||||
%config %{_sysconfdir}/profile.d/osc.sh
|
||||
%endif
|
||||
%dir %{_localstatedir}/lib/osc-plugins
|
||||
%{_mandir}/man1/osc.*
|
||||
%if 0%{?suse_version} > 1110
|
||||
|
Loading…
Reference in New Issue
Block a user