- Avoid conflict with crispy-doom manpages

OBS-URL: https://build.opensuse.org/package/show/games/chocolate-doom?expand=0&rev=45
This commit is contained in:
Jan Engelhardt 2023-03-29 18:15:58 +00:00 committed by Git OBS Bridge
parent 955228d898
commit 2b1bf9eb68
2 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,7 @@
Wed Mar 29 16:33:13 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Switch from packageand() to modern rpm conditionals
- Avoid conflict with crispy-doom manpages
-------------------------------------------------------------------
Sat Jun 26 09:13:01 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -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