From 2b1bf9eb68839fdc0c2c03d56548d7c1ca820f1b305041b635d25130fb41232f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 29 Mar 2023 18:15:58 +0000 Subject: [PATCH] - Avoid conflict with crispy-doom manpages OBS-URL: https://build.opensuse.org/package/show/games/chocolate-doom?expand=0&rev=45 --- chocolate-doom.changes | 1 + chocolate-doom.spec | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/chocolate-doom.changes b/chocolate-doom.changes index 1fe074e..9345d54 100644 --- a/chocolate-doom.changes +++ b/chocolate-doom.changes @@ -2,6 +2,7 @@ Wed Mar 29 16:33:13 UTC 2023 - Jan Engelhardt - Switch from packageand() to modern rpm conditionals +- Avoid conflict with crispy-doom manpages ------------------------------------------------------------------- Sat Jun 26 09:13:01 UTC 2021 - Jan Engelhardt diff --git a/chocolate-doom.spec b/chocolate-doom.spec index 7bb52fe..4dfe2ec 100644 --- a/chocolate-doom.spec +++ b/chocolate-doom.spec @@ -60,7 +60,7 @@ the initial open-sourcing of the Doom engine. Summary: Chocolate Doom command line completion support for bash Group: System/Shells BuildArch: noarch -Supplements: (%name-bash-completion and bash-completion) +Supplements: (%name and bash-completion) %description bash-completion Additions for bash-completion to support chocolate-doom. @@ -80,6 +80,10 @@ b="%buildroot" mkdir -p "$b/%_bindir" rm -f "$b/%_docdir/%name/INSTALL" rm -f "$b/%_datadir/applications/chocolate-setup.desktop" # has wrong paths +pushd "$b/%_mandir/man5" +for i in default heretic hexen strife; do + mv "$i.cfg.5" "chocolate-doom-$i.cfg.5" +done %fdupes %buildroot/%_prefix %post