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