Accepting request 762613 from Base:System

- Don't mark /etc/alternatives files as %config as that would lead
  to stale symlinks on uninstall (forwarded request 762105 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/762613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=77
This commit is contained in:
Dominique Leuenberger 2020-01-18 11:13:47 +00:00 committed by Git OBS Bridge
commit 647d467e8c
2 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 9 09:40:48 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- Don't mark /etc/alternatives files as %config as that would lead
to stale symlinks on uninstall
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 6 08:48:22 UTC 2019 - Dr. Werner Fink <werner@suse.de> Wed Nov 6 08:48:22 UTC 2019 - Dr. Werner Fink <werner@suse.de>

View File

@ -341,12 +341,12 @@ fi
%if 0%{suse_version} < 1500 %if 0%{suse_version} < 1500
%attr(0744,root,root) /etc/cron.daily/suse-do_mandb %attr(0744,root,root) /etc/cron.daily/suse-do_mandb
%endif %endif
%ghost %config %{_sysconfdir}/alternatives/man %ghost %{_sysconfdir}/alternatives/man
%ghost %config %{_sysconfdir}/alternatives/apropos %ghost %{_sysconfdir}/alternatives/apropos
%ghost %config %{_sysconfdir}/alternatives/whatis %ghost %{_sysconfdir}/alternatives/whatis
%ghost %config %{_sysconfdir}/alternatives/man.1%{ext_man} %ghost %{_sysconfdir}/alternatives/man.1%{ext_man}
%ghost %config %{_sysconfdir}/alternatives/apropos.1%{ext_man} %ghost %{_sysconfdir}/alternatives/apropos.1%{ext_man}
%ghost %config %{_sysconfdir}/alternatives/whatis.1%{ext_man} %ghost %{_sysconfdir}/alternatives/whatis.1%{ext_man}
%{_bindir}/man %{_bindir}/man
%{_bindir}/apropos %{_bindir}/apropos
%{_bindir}/whatis %{_bindir}/whatis