forked from pool/prboom-plus
Accepting request 1166487 from games
- Avoid making /usr/share/doc/packages itself part of the RPM following a change in the %cmake macro OBS-URL: https://build.opensuse.org/request/show/1166487 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/prboom-plus?expand=0&rev=21
This commit is contained in:
commit
29552b330e
@ -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>
|
Tue Apr 2 09:16:13 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -72,6 +72,7 @@ pushd prboom2/
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
s="$PWD"
|
||||||
pushd prboom2/
|
pushd prboom2/
|
||||||
%cmake_install
|
%cmake_install
|
||||||
# convenience symlink
|
# 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.desktop "$b/%_datadir/applications/prboom-plus.desktop"
|
||||||
install -Dm0644 ICONS/prboom-plus.bash "$b/%_datadir/bash-completion/completions/prboom-plus.bash"
|
install -Dm0644 ICONS/prboom-plus.bash "$b/%_datadir/bash-completion/completions/prboom-plus.bash"
|
||||||
popd
|
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
|
%if 0%{?suse_version} && 0%{?suse_version} < 1550
|
||||||
%post
|
%post
|
||||||
@ -92,10 +96,9 @@ popd
|
|||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files -f doc.files
|
||||||
%_bindir/*
|
%_bindir/*
|
||||||
%_datadir/doom/
|
%_datadir/doom/
|
||||||
%_datadir/doc/packages/prboom*
|
|
||||||
%_mandir/*/*
|
%_mandir/*/*
|
||||||
%_datadir/applications/prboom-plus.desktop
|
%_datadir/applications/prboom-plus.desktop
|
||||||
%_datadir/icons/hicolor/scalable/apps/prboom-plus.svg
|
%_datadir/icons/hicolor/scalable/apps/prboom-plus.svg
|
||||||
|
Loading…
Reference in New Issue
Block a user