From 1633decb51ed0a5bb30460f0731ac2d4c0eaff3761de3c12f9af94f0a4795e36 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 10 Jan 2020 07:30:19 +0000 Subject: [PATCH] Accepting request 762105 from home:lnussel:branches:Base:System - Don't mark /etc/alternatives files as %config as that would lead to stale symlinks on uninstall OBS-URL: https://build.opensuse.org/request/show/762105 OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=108 --- man.changes | 6 ++++++ man.spec | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/man.changes b/man.changes index 34f9b8f..bb68661 100644 --- a/man.changes +++ b/man.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 9 09:40:48 UTC 2020 - Ludwig Nussel + +- 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 diff --git a/man.spec b/man.spec index cbc075b..c0c5bdb 100644 --- a/man.spec +++ b/man.spec @@ -341,12 +341,12 @@ fi %if 0%{suse_version} < 1500 %attr(0744,root,root) /etc/cron.daily/suse-do_mandb %endif -%ghost %config %{_sysconfdir}/alternatives/man -%ghost %config %{_sysconfdir}/alternatives/apropos -%ghost %config %{_sysconfdir}/alternatives/whatis -%ghost %config %{_sysconfdir}/alternatives/man.1%{ext_man} -%ghost %config %{_sysconfdir}/alternatives/apropos.1%{ext_man} -%ghost %config %{_sysconfdir}/alternatives/whatis.1%{ext_man} +%ghost %{_sysconfdir}/alternatives/man +%ghost %{_sysconfdir}/alternatives/apropos +%ghost %{_sysconfdir}/alternatives/whatis +%ghost %{_sysconfdir}/alternatives/man.1%{ext_man} +%ghost %{_sysconfdir}/alternatives/apropos.1%{ext_man} +%ghost %{_sysconfdir}/alternatives/whatis.1%{ext_man} %{_bindir}/man %{_bindir}/apropos %{_bindir}/whatis