- Avoid making /usr/share/doc/packages itself part of the RPM
following a change in the %cmake macro OBS-URL: https://build.opensuse.org/package/show/games/prboom-plus?expand=0&rev=52
This commit is contained in:
parent
b87c051bb0
commit
1e23a5b031
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 9 16:25:32 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Avoid making /usr/share/doc/packages itself part of the RPM
|
||||
following a change in the %cmake macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 2 09:16:13 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -72,6 +72,7 @@ pushd prboom2/
|
||||
popd
|
||||
|
||||
%install
|
||||
s="$PWD"
|
||||
pushd prboom2/
|
||||
%cmake_install
|
||||
# convenience symlink
|
||||
@ -81,6 +82,9 @@ install -Dm0644 ICONS/prboom-plus.svg "$b/%_datadir/icons/hicolor/scalable/apps/
|
||||
install -Dm0644 ICONS/prboom-plus.desktop "$b/%_datadir/applications/prboom-plus.desktop"
|
||||
install -Dm0644 ICONS/prboom-plus.bash "$b/%_datadir/bash-completion/completions/prboom-plus.bash"
|
||||
popd
|
||||
# TW switched doc location in %%cmake
|
||||
(cd "%buildroot"; find "./%_datadir/doc" -type d -name prboom-plus | cut -b2-) >"$s/doc.files"
|
||||
ls -al "$s/doc.files"
|
||||
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1550
|
||||
%post
|
||||
@ -92,10 +96,9 @@ popd
|
||||
%icon_theme_cache_postun
|
||||
%endif
|
||||
|
||||
%files
|
||||
%files -f doc.files
|
||||
%_bindir/*
|
||||
%_datadir/doom/
|
||||
%_datadir/doc/packages/prboom*
|
||||
%_mandir/*/*
|
||||
%_datadir/applications/prboom-plus.desktop
|
||||
%_datadir/icons/hicolor/scalable/apps/prboom-plus.svg
|
||||
|
Loading…
Reference in New Issue
Block a user