Accepting request 419960 from home:adamm:branches:devel:tools
- Own our update-alternatives symlink (bnc#994261) - Use conflict-free symlinks instead of touch files for placeholders. OBS-URL: https://build.opensuse.org/request/show/419960 OBS-URL: https://build.opensuse.org/package/show/devel:tools/ctags?expand=0&rev=27
This commit is contained in:
parent
a6ac0395e8
commit
9b663428e8
@ -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
|
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}
|
mandir=%{buildroot}%{_mandir}
|
||||||
mv %{buildroot}%{_bindir}/ctags{,-exuberant}
|
mv %{buildroot}%{_bindir}/ctags{,-exuberant}
|
||||||
mv %{buildroot}%{_mandir}/man1/ctags{,-exuberant}.1
|
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
|
%post
|
||||||
test -L %{_bindir}/ctags || rm -f %{_bindir}/ctags
|
test -L %{_bindir}/ctags || rm -f %{_bindir}/ctags
|
||||||
@ -80,7 +84,9 @@ fi
|
|||||||
%doc COPYING EXTENDING.html FAQ README
|
%doc COPYING EXTENDING.html FAQ README
|
||||||
%{_bindir}/ctags-exuberant
|
%{_bindir}/ctags-exuberant
|
||||||
%{_mandir}/man1/ctags-exuberant.1%{ext_man}
|
%{_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 %{_mandir}/man1/ctags.1%{ext_man}
|
||||||
|
%ghost %{_sysconfdir}/alternatives/ctags
|
||||||
|
%ghost %{_sysconfdir}/alternatives/ctags.1%{ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user