1
0
forked from pool/crispy-doom

- Switch from packageand() to modern rpm conditionals

- Avoid conflict with chocolate-doom manpages

OBS-URL: https://build.opensuse.org/package/show/games/crispy-doom?expand=0&rev=4
This commit is contained in:
Jan Engelhardt 2023-03-29 18:19:50 +00:00 committed by Git OBS Bridge
parent 5dc0e98533
commit 6c760d9235
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 29 16:33:13 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Switch from packageand() to modern rpm conditionals
- Avoid conflict with chocolate-doom manpages
-------------------------------------------------------------------
Mon Mar 27 14:20:45 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -48,7 +48,7 @@ based on Chocolate Doom.
Summary: Crispy 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 crispy-doom.
@ -67,7 +67,10 @@ b="%buildroot"
docdir="%_docdir/%name"
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; do
mv "$i.cfg.5" "crispy-doom-$i.cfg.5"
done
%fdupes %buildroot/%_prefix
%post