From 4bbd91621f8cf70547f691c7a1ae5dd09d98676286ed70750549b85ca597ecc6 Mon Sep 17 00:00:00 2001 From: Dominik Heidler Date: Thu, 22 Feb 2024 14:29:29 +0000 Subject: [PATCH] Set CMAKE_INSTALL_DOCDIR pre tw OBS-URL: https://build.opensuse.org/package/show/games/emptyepsilon?expand=0&rev=15 --- emptyepsilon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emptyepsilon.spec b/emptyepsilon.spec index 43443ab..a433af4 100644 --- a/emptyepsilon.spec +++ b/emptyepsilon.spec @@ -83,6 +83,9 @@ export CXX=g++-10 -DCPACK_PACKAGE_VERSION_MAJOR="$(echo %{version} | cut -d. -f1)" \ -DCPACK_PACKAGE_VERSION_MINOR="$(echo %{version} | cut -d. -f2)" \ -DCPACK_PACKAGE_VERSION_PATCH="$(echo %{version} | cut -d. -f3)" \ +%if 0%{?sle_version:1} + -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \ +%endif -DOpenGL_GL_PREFERENCE=GLVND %cmake_build -j 8 @@ -92,7 +95,7 @@ export CXX=g++-10 %files %doc README.md %{_bindir}/EmptyEpsilon -%{_docdir}/*mpty*psilon/ +%{_docdir}/EmptyEpsilon/ %{_datadir}/emptyepsilon/ %{_datadir}/applications/EmptyEpsilon.desktop %{_datadir}/icons/hicolor/1024x1024/apps/EmptyEpsilon.png