forked from pool/chocolate-doom
Accepting request 1075330 from games
- Switch from packageand() to modern rpm conditionals - Avoid conflict with crispy-doom manpages OBS-URL: https://build.opensuse.org/request/show/1075330 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chocolate-doom?expand=0&rev=18
This commit is contained in:
commit
4a008b6f46
@ -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 crispy-doom manpages
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 26 09:13:01 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
Sat Jun 26 09:13:01 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package chocolate-doom
|
# spec file for package chocolate-doom
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -60,7 +60,7 @@ the initial open-sourcing of the Doom engine.
|
|||||||
Summary: Chocolate Doom command line completion support for bash
|
Summary: Chocolate Doom command line completion support for bash
|
||||||
Group: System/Shells
|
Group: System/Shells
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Supplements: packageand(chocolate-doom:bash-completion)
|
Supplements: (%name and bash-completion)
|
||||||
|
|
||||||
%description bash-completion
|
%description bash-completion
|
||||||
Additions for bash-completion to support chocolate-doom.
|
Additions for bash-completion to support chocolate-doom.
|
||||||
@ -80,6 +80,10 @@ b="%buildroot"
|
|||||||
mkdir -p "$b/%_bindir"
|
mkdir -p "$b/%_bindir"
|
||||||
rm -f "$b/%_docdir/%name/INSTALL"
|
rm -f "$b/%_docdir/%name/INSTALL"
|
||||||
rm -f "$b/%_datadir/applications/chocolate-setup.desktop" # has wrong paths
|
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
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
Loading…
Reference in New Issue
Block a user