Accepting request 420140 from devel:tools
1 OBS-URL: https://build.opensuse.org/request/show/420140 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ctags?expand=0&rev=32
This commit is contained in:
commit
e64386b3e7
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 18 08:25:26 UTC 2016 - adam.majer@suse.de
|
||||
|
||||
- Own our update-alternatives symlink (bnc#994261)
|
||||
- Use conflict-free symlinks instead of touch files for
|
||||
placeholders.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 24 15:26:39 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
|
10
ctags.spec
10
ctags.spec
@ -62,7 +62,11 @@ make \
|
||||
mandir=%{buildroot}%{_mandir}
|
||||
mv %{buildroot}%{_bindir}/ctags{,-exuberant}
|
||||
mv %{buildroot}%{_mandir}/man1/ctags{,-exuberant}.1
|
||||
touch %{buildroot}%{_bindir}/ctags %{buildroot}%{_mandir}/man1/ctags.1.gz
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives/
|
||||
ln -s ctags %{buildroot}%{_bindir}/ctags
|
||||
ln -s ctags.1%{ext_man} %{buildroot}%{_mandir}/man1/ctags.1%{ext_man}
|
||||
ln -s ctags %{buildroot}%{_sysconfdir}/alternatives/ctags
|
||||
ln -s ctags.1%{ext_man} %{buildroot}%{_sysconfdir}/alternatives/ctags.1%{ext_man}
|
||||
|
||||
%post
|
||||
test -L %{_bindir}/ctags || rm -f %{_bindir}/ctags
|
||||
@ -80,7 +84,9 @@ fi
|
||||
%doc COPYING EXTENDING.html FAQ README
|
||||
%{_bindir}/ctags-exuberant
|
||||
%{_mandir}/man1/ctags-exuberant.1%{ext_man}
|
||||
%ghost %attr(755,root,root) %{_bindir}/ctags
|
||||
%ghost %{_bindir}/ctags
|
||||
%ghost %{_mandir}/man1/ctags.1%{ext_man}
|
||||
%ghost %{_sysconfdir}/alternatives/ctags
|
||||
%ghost %{_sysconfdir}/alternatives/ctags.1%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user