.
OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=127
This commit is contained in:
parent
e5d62370e4
commit
d7696fe511
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 7 07:53:58 UTC 2013 - werner@suse.de
|
||||||
|
|
||||||
|
- Enforce update alternatives simply to avoid bug reports about
|
||||||
|
warnings
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 6 16:13:16 UTC 2013 - werner@suse.de
|
Thu Jun 6 16:13:16 UTC 2013 - werner@suse.de
|
||||||
|
|
||||||
|
11
emacs.spec
11
emacs.spec
@ -579,13 +579,14 @@ done
|
|||||||
%if 0%{suse_version} >= 1300
|
%if 0%{suse_version} >= 1300
|
||||||
%post -n etags
|
%post -n etags
|
||||||
test -L %{_bindir}/ctags || rm -f %{_bindir}/ctags
|
test -L %{_bindir}/ctags || rm -f %{_bindir}/ctags
|
||||||
update-alternatives --install %{_bindir}/ctags ctags %{_bindir}/gnuctags 10 \
|
%{_sbindir}/update-alternatives --quiet --force --install \
|
||||||
--slave %{_mandir}/man1/ctags.1.gz ctags.1 %{_mandir}/man1/gnuctags.1.gz
|
%{_bindir}/ctags ctags %{_bindir}/gnuctags 10 \
|
||||||
update-alternatives --auto ctags
|
--slave %{_mandir}/man1/ctags.1.gz ctags.1 %{_mandir}/man1/gnuctags.1.gz
|
||||||
|
%{_sbindir}/update-alternatives --auto ctags
|
||||||
|
|
||||||
%preun -n etags
|
%preun -n etags
|
||||||
if [ $1 -eq 0 ]; then
|
if test $1 -eq 0 ; then
|
||||||
update-alternatives --remove ctags %{_bindir}/gnuctags
|
%{_sbindir}/update-alternatives --quiet --remove ctags %{_bindir}/gnuctags
|
||||||
fi
|
fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user